maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult start(
    1. T t
    )?,
  2. TResult stop(
    1. T t
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(T t)? start,
  TResult Function(T t)? stop,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;