maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult account(
- SplTokenAccountDataInfo info,
- String type,
- String? accountType
- TResult mint(
- MintAccountDataInfo info,
- String type,
- String? accountType
- TResult unknown(
- String type
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(
SplTokenAccountDataInfo info, String type, String? accountType)?
account,
TResult Function(
MintAccountDataInfo info, String type, String? accountType)?
mint,
TResult Function(String type)? unknown,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;