Tx constructor

Tx({
  1. TxBody? body,
  2. AuthInfo? authInfo,
  3. Iterable<List<int>>? signatures,
})

Implementation

factory Tx({
  TxBody? body,
  AuthInfo? authInfo,
  $core.Iterable<$core.List<$core.int>>? signatures,
}) {
  final _result = create();
  if (body != null) {
    _result.body = body;
  }
  if (authInfo != null) {
    _result.authInfo = authInfo;
  }
  if (signatures != null) {
    _result.signatures.addAll(signatures);
  }
  return _result;
}