DecCoin constructor

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

Implementation

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