TransactionDetails constructor
TransactionDetails({})
Implementation
factory TransactionDetails({
$core.String? transactionId,
$core.String? transactionType,
$core.String? blockId,
$core.int? mode,
$core.String? senderDID,
$core.String? receiverDID,
$core.double? amount,
$core.double? totalTime,
$core.String? comment,
$2.Timestamp? dateTime,
$core.bool? status,
}) {
final _result = create();
if (transactionId != null) {
_result.transactionId = transactionId;
}
if (transactionType != null) {
_result.transactionType = transactionType;
}
if (blockId != null) {
_result.blockId = blockId;
}
if (mode != null) {
_result.mode = mode;
}
if (senderDID != null) {
_result.senderDID = senderDID;
}
if (receiverDID != null) {
_result.receiverDID = receiverDID;
}
if (amount != null) {
_result.amount = amount;
}
if (totalTime != null) {
_result.totalTime = totalTime;
}
if (comment != null) {
_result.comment = comment;
}
if (dateTime != null) {
_result.dateTime = dateTime;
}
if (status != null) {
_result.status = status;
}
return _result;
}