Amount constructor

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

Implementation

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