Coin constructor
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;
}