Transfer constructor

Transfer({
  1. String? recipient,
  2. Int64? value,
  3. String? memo,
  4. Iterable<String>? references,
})

Implementation

factory Transfer({
  $core.String? recipient,
  $fixnum.Int64? value,
  $core.String? memo,
  $core.Iterable<$core.String>? references,
}) {
  final _result = create();
  if (recipient != null) {
    _result.recipient = recipient;
  }
  if (value != null) {
    _result.value = value;
  }
  if (memo != null) {
    _result.memo = memo;
  }
  if (references != null) {
    _result.references.addAll(references);
  }
  return _result;
}