TransactionResponse constructor
TransactionResponse({
- Int64? txId,
- TransactionError? error,
- List<
int> ? accountCreated, - Int64? timestamp,
- CreateTransfer? transferCommitted,
- OfflineToken? token,
Implementation
factory TransactionResponse({
$fixnum.Int64? txId,
TransactionError? error,
$core.List<$core.int>? accountCreated,
$fixnum.Int64? timestamp,
CreateTransfer? transferCommitted,
OfflineToken? token,
}) {
final $result = create();
if (txId != null) {
$result.txId = txId;
}
if (error != null) {
$result.error = error;
}
if (accountCreated != null) {
$result.accountCreated = accountCreated;
}
if (timestamp != null) {
$result.timestamp = timestamp;
}
if (transferCommitted != null) {
$result.transferCommitted = transferCommitted;
}
if (token != null) {
$result.token = token;
}
return $result;
}