Map<String, dynamic> toJson() => { "trackerType": trackerType, "uid": uid, "index": index, "errorReports": errorReports.map((x) => x).toList(), };