Skip to content

Commit

Permalink
chore: Sealing classes according to Dart 3.0. #275
Browse files Browse the repository at this point in the history
  • Loading branch information
LuchoTurtle committed Sep 27, 2023
1 parent 2c05973 commit 43f87b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/blocs/todo/todo_event.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
part of 'todo_bloc.dart';

abstract class TodoEvent extends Equatable {
sealed class TodoEvent extends Equatable {
const TodoEvent();
}

Expand Down
2 changes: 1 addition & 1 deletion lib/blocs/todo/todo_state.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
part of 'todo_bloc.dart';

abstract class TodoState extends Equatable {
sealed class TodoState extends Equatable {
const TodoState();
}

Expand Down

0 comments on commit 43f87b3

Please sign in to comment.