Signature constructor

Signature({
  1. List<int>? pubKey,
  2. List<int>? signature,
  3. Int64? accountNumber,
  4. Int64? sequence,
})

Implementation

factory Signature({
  $core.List<$core.int>? pubKey,
  $core.List<$core.int>? signature,
  $fixnum.Int64? accountNumber,
  $fixnum.Int64? sequence,
}) {
  final _result = create();
  if (pubKey != null) {
    _result.pubKey = pubKey;
  }
  if (signature != null) {
    _result.signature = signature;
  }
  if (accountNumber != null) {
    _result.accountNumber = accountNumber;
  }
  if (sequence != null) {
    _result.sequence = sequence;
  }
  return _result;
}