Fee constructor

Fee({
  1. Iterable<Coin>? amount,
  2. Int64? gasLimit,
  3. String? payer,
  4. String? granter,
})

Implementation

factory Fee({
  $core.Iterable<$4.Coin>? amount,
  $fixnum.Int64? gasLimit,
  $core.String? payer,
  $core.String? granter,
}) {
  final _result = create();
  if (amount != null) {
    _result.amount.addAll(amount);
  }
  if (gasLimit != null) {
    _result.gasLimit = gasLimit;
  }
  if (payer != null) {
    _result.payer = payer;
  }
  if (granter != null) {
    _result.granter = granter;
  }
  return _result;
}