when<TResult extends Object?> method

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

Implementation

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