TransferContract constructor

TransferContract({
  1. String? ownerAddress,
  2. String? toAddress,
  3. Int64? amount,
})

Implementation

factory TransferContract({
  $core.String? ownerAddress,
  $core.String? toAddress,
  $fixnum.Int64? amount,
}) {
  final _result = create();
  if (ownerAddress != null) {
    _result.ownerAddress = ownerAddress;
  }
  if (toAddress != null) {
    _result.toAddress = toAddress;
  }
  if (amount != null) {
    _result.amount = amount;
  }
  return _result;
}