TxnRequest constructor
TxnRequest({})
Implementation
factory TxnRequest({
$core.String? receiver,
$core.double? amount,
$core.String? comment,
$core.int? type,
$core.String? purpose,
$core.String? externalParty,
$core.String? ticker,
$core.bool? privateKeyOnly,
}) {
final _result = create();
if (receiver != null) {
_result.receiver = receiver;
}
if (amount != null) {
_result.amount = amount;
}
if (comment != null) {
_result.comment = comment;
}
if (type != null) {
_result.type = type;
}
if (purpose != null) {
_result.purpose = purpose;
}
if (externalParty != null) {
_result.externalParty = externalParty;
}
if (ticker != null) {
_result.ticker = ticker;
}
if (privateKeyOnly != null) {
_result.privateKeyOnly = privateKeyOnly;
}
return _result;
}