Coin constructor

Coin({
  1. String? denom,
  2. String? amount,
})

Implementation

factory Coin({
  $core.String? denom,
  $core.String? amount,
}) {
  final _result = create();
  if (denom != null) {
    _result.denom = denom;
  }
  if (amount != null) {
    _result.amount = amount;
  }
  return _result;
}