From 43f87b37412e2a3c8c650e20b181f666ce3ce65b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lui=CC=81s=20Arteiro?= Date: Wed, 27 Sep 2023 15:48:30 +0100 Subject: [PATCH] chore: Sealing classes according to Dart 3.0. #275 --- lib/blocs/todo/todo_event.dart | 2 +- lib/blocs/todo/todo_state.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/blocs/todo/todo_event.dart b/lib/blocs/todo/todo_event.dart index 60e6fcf1..6bf2cd8e 100644 --- a/lib/blocs/todo/todo_event.dart +++ b/lib/blocs/todo/todo_event.dart @@ -1,6 +1,6 @@ part of 'todo_bloc.dart'; -abstract class TodoEvent extends Equatable { +sealed class TodoEvent extends Equatable { const TodoEvent(); } diff --git a/lib/blocs/todo/todo_state.dart b/lib/blocs/todo/todo_state.dart index 01e3051b..2f61caec 100644 --- a/lib/blocs/todo/todo_state.dart +++ b/lib/blocs/todo/todo_state.dart @@ -1,6 +1,6 @@ part of 'todo_bloc.dart'; -abstract class TodoState extends Equatable { +sealed class TodoState extends Equatable { const TodoState(); }