LeaseMessage constructor

LeaseMessage({
  1. Int64? amount,
  2. String? to,
  3. Int64? fee,
})

Implementation

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