ObjectReport.fromJson constructor

ObjectReport.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ObjectReport.fromJson(Map<String, dynamic> json) {
  return ObjectReport(
    trackerType: json["trackerType"],
    uid: json["uid"],
    index: json["index"],
    errorReports: json["errorReports"] == null
        ? []
        : List<dynamic>.from(json["errorReports"]!.map((x) => x)),
  );
}