when<TResult extends Object?> method
TResult
when<TResult extends Object?>({
- required TResult initialize(),
- required TResult searchByName(
- String searchText
- required TResult searchByTag(
- String tag
- required TResult clear(),
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function() initialize,
required TResult Function(String searchText) searchByName,
required TResult Function(String tag) searchByTag,
required TResult Function() clear,
}) =>
throw _privateConstructorUsedError;