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