Transfer constructor

Transfer({
  1. String? amount,
  2. String? recipient,
  3. List<int>? payload,
})

Implementation

factory Transfer({
  $core.String? amount,
  $core.String? recipient,
  $core.List<$core.int>? payload,
}) {
  final _result = create();
  if (amount != null) {
    _result.amount = amount;
  }
  if (recipient != null) {
    _result.recipient = recipient;
  }
  if (payload != null) {
    _result.payload = payload;
  }
  return _result;
}