MsgSend constructor

MsgSend({
  1. String? fromAddress,
  2. String? toAddress,
  3. Iterable<Coin>? amount,
})

Implementation

factory MsgSend({
  $core.String? fromAddress,
  $core.String? toAddress,
  $core.Iterable<$2.Coin>? amount,
}) {
  final _result = create();
  if (fromAddress != null) {
    _result.fromAddress = fromAddress;
  }
  if (toAddress != null) {
    _result.toAddress = toAddress;
  }
  if (amount != null) {
    _result.amount.addAll(amount);
  }
  return _result;
}