whenOrNull<TResult extends Object?> method
- @optionalTypeArgs
- TResult? system(
- String programId,
- ParsedSystemInstruction parsed
- TResult? splToken(
- ParsedSplTokenInstruction parsed
- TResult? memo(
- String? memo
- TResult? unsupported(
- String? program
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(String programId, ParsedSystemInstruction parsed)? system,
TResult? Function(ParsedSplTokenInstruction parsed)? splToken,
TResult? Function(@JsonKey(name: 'parsed') String? memo)? memo,
TResult? Function(String? program)? unsupported,
}) =>
throw _privateConstructorUsedError;