maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult console(
    1. String message
    )?,
  2. TResult install(
    1. String message
    )?,
  3. TResult transfer(
    1. String message
    )?,
  4. TResult daemon(
    1. String message
    )?,
  5. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(String message)? console,
  TResult Function(String message)? install,
  TResult Function(String message)? transfer,
  TResult Function(String message)? daemon,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;