maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult transfer(
    1. ParsedSystemTransferInformation info,
    2. String type
    )?,
  2. TResult transferChecked(
    1. ParsedSystemTransferInformation info,
    2. String type
    )?,
  3. TResult unsupported(
    1. String type
    )?,
  4. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(ParsedSystemTransferInformation info, String type)?
      transfer,
  TResult Function(ParsedSystemTransferInformation info, String type)?
      transferChecked,
  TResult Function(String type)? unsupported,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;