Input constructor

Input({
  1. String? address,
  2. Iterable<Coin>? coins,
})

Implementation

factory Input({
  $core.String? address,
  $core.Iterable<$2.Coin>? coins,
}) {
  final _result = create();
  if (address != null) {
    _result.address = address;
  }
  if (coins != null) {
    _result.coins.addAll(coins);
  }
  return _result;
}