TransferMessage constructor

TransferMessage({
  1. String? from,
  2. String? to,
  3. Int64? amount,
})

Implementation

factory TransferMessage({
  $core.String? from,
  $core.String? to,
  $fixnum.Int64? amount,
}) {
  final result = create();
  if (from != null) result.from = from;
  if (to != null) result.to = to;
  if (amount != null) result.amount = amount;
  return result;
}