TransferMessage constructor
TransferMessage({})
Implementation
factory TransferMessage({
$fixnum.Int64? amount,
$core.String? asset,
$fixnum.Int64? fee,
$core.String? feeAsset,
$core.String? to,
$core.List<$core.int>? attachment,
}) {
final _result = create();
if (amount != null) {
_result.amount = amount;
}
if (asset != null) {
_result.asset = asset;
}
if (fee != null) {
_result.fee = fee;
}
if (feeAsset != null) {
_result.feeAsset = feeAsset;
}
if (to != null) {
_result.to = to;
}
if (attachment != null) {
_result.attachment = attachment;
}
return _result;
}