SignDoc constructor

SignDoc({
  1. List<int>? bodyBytes,
  2. List<int>? authInfoBytes,
  3. String? chainId,
  4. Int64? accountNumber,
})

Implementation

factory SignDoc({
  $core.List<$core.int>? bodyBytes,
  $core.List<$core.int>? authInfoBytes,
  $core.String? chainId,
  $fixnum.Int64? accountNumber,
}) {
  final _result = create();
  if (bodyBytes != null) {
    _result.bodyBytes = bodyBytes;
  }
  if (authInfoBytes != null) {
    _result.authInfoBytes = authInfoBytes;
  }
  if (chainId != null) {
    _result.chainId = chainId;
  }
  if (accountNumber != null) {
    _result.accountNumber = accountNumber;
  }
  return _result;
}