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