part of 'search_bloc.dart'; abstract class SearchEvent extends Equatable { const SearchEvent(); @override List get props => []; } /// 初始化方法 class SearchInitEvent extends SearchEvent { final Map model; const SearchInitEvent({this.model}); @override List get props => [model]; } /// 搜索方法 class SearchSubmitEvent extends SearchEvent { final String model; const SearchSubmitEvent({@required this.model}); @override List get props => [this.model]; }