maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult legacy(
- MessageHeader header,
- List<
Ed25519HDPublicKey> accountKeys, - String recentBlockhash,
- List<
CompiledInstruction> instructions,
- TResult v0(
- MessageHeader header,
- List<
Ed25519HDPublicKey> accountKeys, - String recentBlockhash,
- List<
CompiledInstruction> instructions, - List<
MessageAddressTableLookup> addressTableLookups,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(MessageHeader header, List<Ed25519HDPublicKey> accountKeys,
String recentBlockhash, List<CompiledInstruction> instructions)?
legacy,
TResult Function(
MessageHeader header,
List<Ed25519HDPublicKey> accountKeys,
String recentBlockhash,
List<CompiledInstruction> instructions,
List<MessageAddressTableLookup> addressTableLookups)?
v0,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;