mirrored_repositories/Note_app_ddd/lib/application/notes
part of 'note_watcher_bloc.dart';

@freezed
class NoteWatcherState with _$NoteWatcherState {
  const factory NoteWatcherState.initial() = Initial;
  const factory NoteWatcherState.loadInProgress() = DataTransferInProgress;
  const factory NoteWatcherState.loadSuccess(KtList<Note> notes) = LoadSuccess;
  const factory NoteWatcherState.loadFailure(NoteFailure noteFailure) =
      LoadFailure;
}

/// for build runner: flutter pub run build_runner watch --delete-conflicting-outputs