whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<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
    )?,
})
inherited

Implementation

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