maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult initialize()?,
  2. TResult searchByName(
    1. String searchText
    )?,
  3. TResult searchByTag(
    1. String tag
    )?,
  4. TResult clear()?,
  5. 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;