Accounts constructor

Accounts({
  1. Int64? senderNonce,
  2. String? sender,
  3. String? senderUsername,
  4. String? receiver,
  5. String? receiverUsername,
})

Implementation

factory Accounts({
  $fixnum.Int64? senderNonce,
  $core.String? sender,
  $core.String? senderUsername,
  $core.String? receiver,
  $core.String? receiverUsername,
}) {
  final _result = create();
  if (senderNonce != null) {
    _result.senderNonce = senderNonce;
  }
  if (sender != null) {
    _result.sender = sender;
  }
  if (senderUsername != null) {
    _result.senderUsername = senderUsername;
  }
  if (receiver != null) {
    _result.receiver = receiver;
  }
  if (receiverUsername != null) {
    _result.receiverUsername = receiverUsername;
  }
  return _result;
}