RawMessage_MessageV0 constructor
RawMessage_MessageV0({
- RawMessage_MessageHeader? header,
- Iterable<
String> ? accountKeys, - String? recentBlockhash,
- Iterable<
RawMessage_Instruction> ? instructions, - Iterable<
RawMessage_MessageAddressTableLookup> ? addressTableLookups,
Implementation
factory RawMessage_MessageV0({
RawMessage_MessageHeader? header,
$core.Iterable<$core.String>? accountKeys,
$core.String? recentBlockhash,
$core.Iterable<RawMessage_Instruction>? instructions,
$core.Iterable<RawMessage_MessageAddressTableLookup>? addressTableLookups,
}) {
final result = create();
if (header != null) result.header = header;
if (accountKeys != null) result.accountKeys.addAll(accountKeys);
if (recentBlockhash != null) result.recentBlockhash = recentBlockhash;
if (instructions != null) result.instructions.addAll(instructions);
if (addressTableLookups != null)
result.addressTableLookups.addAll(addressTableLookups);
return result;
}