Created
June 18, 2022 12:18
-
-
Save FlutterWiz/9d0f925f8cc952370248dee2a652fbfd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
part 'search_event.freezed.dart'; | |
@freezed | |
class SearchEvent with _$SearchEvent { | |
const factory SearchEvent.searchedTextChanged({required String text}) = SearchedTextChanged; | |
const factory SearchEvent.updateListItems({required List<CharacterModel> characterModelList}) = UpdateListItems; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment