maybeWhen<TResult extends Object?> method

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

Implementation

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