toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (id != null) {
_json[r'id'] = id;
} else {
_json[r'id'] = null;
}
if (createdAt != null) {
_json[r'createdAt'] = createdAt!.toUtc().toIso8601String();
} else {
_json[r'createdAt'] = null;
}
if (updatedAt != null) {
_json[r'updatedAt'] = updatedAt!.toUtc().toIso8601String();
} else {
_json[r'updatedAt'] = null;
}
if (amount != null) {
_json[r'amount'] = amount;
} else {
_json[r'amount'] = null;
}
if (decimals != null) {
_json[r'decimals'] = decimals;
} else {
_json[r'decimals'] = null;
}
if (destination != null) {
_json[r'destination'] = destination;
} else {
_json[r'destination'] = null;
}
if (errors != null) {
_json[r'errors'] = errors;
} else {
_json[r'errors'] = null;
}
if (explorerUrl != null) {
_json[r'explorerUrl'] = explorerUrl;
} else {
_json[r'explorerUrl'] = null;
}
if (feePayer != null) {
_json[r'feePayer'] = feePayer;
} else {
_json[r'feePayer'] = null;
}
if (ip != null) {
_json[r'ip'] = ip;
} else {
_json[r'ip'] = null;
}
if (mint != null) {
_json[r'mint'] = mint;
} else {
_json[r'mint'] = null;
}
if (processingDuration != null) {
_json[r'processingDuration'] = processingDuration;
} else {
_json[r'processingDuration'] = null;
}
if (referenceId != null) {
_json[r'referenceId'] = referenceId;
} else {
_json[r'referenceId'] = null;
}
if (referenceType != null) {
_json[r'referenceType'] = referenceType;
} else {
_json[r'referenceType'] = null;
}
if (signature != null) {
_json[r'signature'] = signature;
} else {
_json[r'signature'] = null;
}
if (solanaCommitted != null) {
_json[r'solanaCommitted'] = solanaCommitted!.toUtc().toIso8601String();
} else {
_json[r'solanaCommitted'] = null;
}
if (solanaCommittedDuration != null) {
_json[r'solanaCommittedDuration'] = solanaCommittedDuration;
} else {
_json[r'solanaCommittedDuration'] = null;
}
if (solanaFinalized != null) {
_json[r'solanaFinalized'] = solanaFinalized!.toUtc().toIso8601String();
} else {
_json[r'solanaFinalized'] = null;
}
if (solanaFinalizedDuration != null) {
_json[r'solanaFinalizedDuration'] = solanaFinalizedDuration;
} else {
_json[r'solanaFinalizedDuration'] = null;
}
if (solanaStart != null) {
_json[r'solanaStart'] = solanaStart!.toUtc().toIso8601String();
} else {
_json[r'solanaStart'] = null;
}
if (solanaTransaction != null) {
_json[r'solanaTransaction'] = solanaTransaction;
} else {
_json[r'solanaTransaction'] = null;
}
if (source_ != null) {
_json[r'source'] = source_;
} else {
_json[r'source'] = null;
}
if (status != null) {
_json[r'status'] = status;
} else {
_json[r'status'] = null;
}
if (totalDuration != null) {
_json[r'totalDuration'] = totalDuration;
} else {
_json[r'totalDuration'] = null;
}
if (tx != null) {
_json[r'tx'] = tx;
} else {
_json[r'tx'] = null;
}
if (ua != null) {
_json[r'ua'] = ua;
} else {
_json[r'ua'] = null;
}
if (webhookEventStart != null) {
_json[r'webhookEventStart'] = webhookEventStart!.toUtc().toIso8601String();
} else {
_json[r'webhookEventStart'] = null;
}
if (webhookEventEnd != null) {
_json[r'webhookEventEnd'] = webhookEventEnd!.toUtc().toIso8601String();
} else {
_json[r'webhookEventEnd'] = null;
}
if (webhookEventDuration != null) {
_json[r'webhookEventDuration'] = webhookEventDuration;
} else {
_json[r'webhookEventDuration'] = null;
}
if (webhookVerifyStart != null) {
_json[r'webhookVerifyStart'] = webhookVerifyStart!.toUtc().toIso8601String();
} else {
_json[r'webhookVerifyStart'] = null;
}
if (webhookVerifyEnd != null) {
_json[r'webhookVerifyEnd'] = webhookVerifyEnd!.toUtc().toIso8601String();
} else {
_json[r'webhookVerifyEnd'] = null;
}
if (webhookVerifyDuration != null) {
_json[r'webhookVerifyDuration'] = webhookVerifyDuration;
} else {
_json[r'webhookVerifyDuration'] = null;
}
return _json;
}