RawMessage_MessageLegacy constructor
RawMessage_MessageLegacy({
- RawMessage_MessageHeader? header,
- Iterable<
String> ? accountKeys, - String? recentBlockhash,
- Iterable<
RawMessage_Instruction> ? instructions,
Implementation
factory RawMessage_MessageLegacy({
RawMessage_MessageHeader? header,
$core.Iterable<$core.String>? accountKeys,
$core.String? recentBlockhash,
$core.Iterable<RawMessage_Instruction>? instructions,
}) {
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);
}
return $result;
}