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