BaseAccount constructor

BaseAccount({
  1. String? address,
  2. Any? pubKey,
  3. Int64? accountNumber,
  4. Int64? sequence,
})

Implementation

factory BaseAccount({
  $core.String? address,
  $1.Any? pubKey,
  $fixnum.Int64? accountNumber,
  $fixnum.Int64? sequence,
}) {
  final _result = create();
  if (address != null) {
    _result.address = address;
  }
  if (pubKey != null) {
    _result.pubKey = pubKey;
  }
  if (accountNumber != null) {
    _result.accountNumber = accountNumber;
  }
  if (sequence != null) {
    _result.sequence = sequence;
  }
  return _result;
}