whenOrNull<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
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<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,
}) =>
throw _privateConstructorUsedError;