TxBody constructor
TxBody({})
Implementation
factory TxBody({
$core.Iterable<$0.Any>? messages,
$core.String? memo,
$fixnum.Int64? timeoutHeight,
$core.Iterable<$0.Any>? extensionOptions,
$core.Iterable<$0.Any>? nonCriticalExtensionOptions,
}) {
final _result = create();
if (messages != null) {
_result.messages.addAll(messages);
}
if (memo != null) {
_result.memo = memo;
}
if (timeoutHeight != null) {
_result.timeoutHeight = timeoutHeight;
}
if (extensionOptions != null) {
_result.extensionOptions.addAll(extensionOptions);
}
if (nonCriticalExtensionOptions != null) {
_result.nonCriticalExtensionOptions.addAll(nonCriticalExtensionOptions);
}
return _result;
}