whenOrNull<TResult extends Object?> method

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