maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult system(
- String programId,
- ParsedSystemInstruction parsed
- TResult splToken(
- ParsedSplTokenInstruction parsed
- TResult memo(
- String? memo
- TResult unsupported(
- String? program
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<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,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;