Jisho-Study-Tool/lib/bloc/search/search_event.dart

15 lines
299 B
Dart
Raw Normal View History

2020-07-09 20:06:48 +02:00
part of 'search_bloc.dart';
@immutable
2020-08-19 16:26:25 +02:00
abstract class SearchEvent {
const SearchEvent();
}
class GetSearchResults extends SearchEvent {
final String searchString;
const GetSearchResults(this.searchString);
}
class ReturnToInitialState extends SearchEvent {
const ReturnToInitialState();
}