TransferMessage constructor
TransferMessage({})
Implementation
factory TransferMessage({
$core.String? to,
$fixnum.Int64? gasPrice,
$core.String? gasAmount,
$core.String? amount,
$fixnum.Int64? nonce,
$core.String? context,
}) {
final _result = create();
if (to != null) {
_result.to = to;
}
if (gasPrice != null) {
_result.gasPrice = gasPrice;
}
if (gasAmount != null) {
_result.gasAmount = gasAmount;
}
if (amount != null) {
_result.amount = amount;
}
if (nonce != null) {
_result.nonce = nonce;
}
if (context != null) {
_result.context = context;
}
return _result;
}