TxRaw constructor

TxRaw({
  1. List<int>? bodyBytes,
  2. List<int>? authInfoBytes,
  3. Iterable<List<int>>? signatures,
})

Implementation

factory TxRaw({
  $core.List<$core.int>? bodyBytes,
  $core.List<$core.int>? authInfoBytes,
  $core.Iterable<$core.List<$core.int>>? signatures,
}) {
  final _result = create();
  if (bodyBytes != null) {
    _result.bodyBytes = bodyBytes;
  }
  if (authInfoBytes != null) {
    _result.authInfoBytes = authInfoBytes;
  }
  if (signatures != null) {
    _result.signatures.addAll(signatures);
  }
  return _result;
}