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