when<TResult extends Object?> method

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

Implementation

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