maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult transfer(
    1. ParsedSplTokenTransferInstruction value
    )?,
  2. TResult transferChecked(
    1. ParsedSplTokenTransferCheckedInstruction value
    )?,
  3. TResult generic(
    1. ParsedSplTokenGenericInstruction value
    )?,
  4. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(ParsedSplTokenTransferInstruction value)? transfer,
  TResult Function(ParsedSplTokenTransferCheckedInstruction value)?
      transferChecked,
  TResult Function(ParsedSplTokenGenericInstruction value)? generic,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;