whenOrNull<TResult extends Object?> method

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

Implementation

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