Fee constructor

Fee({
  1. Iterable<Amount>? amounts,
  2. Int64? gas,
})

Implementation

factory Fee({
  $core.Iterable<Amount>? amounts,
  $fixnum.Int64? gas,
}) {
  final _result = create();
  if (amounts != null) {
    _result.amounts.addAll(amounts);
  }
  if (gas != null) {
    _result.gas = gas;
  }
  return _result;
}