Skip to content

Commit

Permalink
fix: TodoItemDto was declared as abstract
Browse files Browse the repository at this point in the history
  • Loading branch information
FlutterWiz committed Oct 26, 2022
1 parent ba94d20 commit c273c19
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion lib/application/auth/sign_in_form/sign_in_form_state.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

part of "sign_in_form_bloc.dart";

@freezed
Expand Down
2 changes: 1 addition & 1 deletion lib/application/notes/note_actor/note_actor_event.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
part of 'note_actor_bloc.dart';

@freezed
abstract class NoteActorEvent with _$NoteActorEvent {
class NoteActorEvent with _$NoteActorEvent {
const factory NoteActorEvent.deleted(Note note) = Deleted;
}
2 changes: 1 addition & 1 deletion lib/application/notes/note_actor/note_actor_state.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
part of 'note_actor_bloc.dart';

@freezed
abstract class NoteActorState with _$NoteActorState {
class NoteActorState with _$NoteActorState {
const factory NoteActorState.initial() = Initial;
const factory NoteActorState.actionInProgress() = ActionInProgress;
const factory NoteActorState.deleteFailure(NoteFailure noteFailure) =
Expand Down
2 changes: 1 addition & 1 deletion lib/application/notes/note_form/note_form_event.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
part of 'note_form_bloc.dart';

@freezed
abstract class NoteFormEvent with _$NoteFormEvent {
class NoteFormEvent with _$NoteFormEvent {
const factory NoteFormEvent.initialized(Option<Note> initialNoteOption) =
Initialized;
const factory NoteFormEvent.bodyChanged(String bodyStr) = BodyChanged;
Expand Down
2 changes: 1 addition & 1 deletion lib/application/notes/note_form/note_form_state.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
part of 'note_form_bloc.dart';

@freezed
abstract class NoteFormState with _$NoteFormState {
class NoteFormState with _$NoteFormState {
const factory NoteFormState({
required Note note,
required AutovalidateMode? showErrorMessages,
Expand Down
2 changes: 1 addition & 1 deletion lib/application/notes/note_watcher/note_watcher_event.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
part of 'note_watcher_bloc.dart';

@freezed
abstract class NoteWatcherEvent with _$NoteWatcherEvent {
class NoteWatcherEvent with _$NoteWatcherEvent {
const factory NoteWatcherEvent.watchAllStarted() = WatchAllStarted;
const factory NoteWatcherEvent.watchUncompletedStarted() =
WatchUncompletedStarted;
Expand Down
2 changes: 1 addition & 1 deletion lib/application/notes/note_watcher/note_watcher_state.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
part of 'note_watcher_bloc.dart';

@freezed
abstract class NoteWatcherState with _$NoteWatcherState {
class NoteWatcherState with _$NoteWatcherState {
const factory NoteWatcherState.initial() = Initial;
const factory NoteWatcherState.loadInProgress() = LoadInProgress;
const factory NoteWatcherState.loadSuccess(KtList<Note> notes) = LoadSuccess;
Expand Down
2 changes: 1 addition & 1 deletion lib/infrastructure/notes/note_dtos.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ part 'note_dtos.freezed.dart';
part 'note_dtos.g.dart';

@freezed
abstract class NoteDto implements _$NoteDto {
class NoteDto with _$NoteDto {
const factory NoteDto({
@JsonKey(ignore: true) String? id,
required String body,
Expand Down

0 comments on commit c273c19

Please sign in to comment.