copyWith method

LessonState copyWith({
  1. SoundEngine? engine,
  2. bool? markedEnd,
  3. bool? lockedDismissed,
})

Implementation

LessonState copyWith({
  SoundEngine? engine,
  bool? markedEnd,
  bool? lockedDismissed,
}) => LessonState(
  engine: engine ?? this.engine,
  markedEnd: markedEnd ?? this.markedEnd,
  lockedDismissed: lockedDismissed ?? this.lockedDismissed,
);