Visualization.fromJson constructor
Visualization.fromJson(
- Map<String, dynamic> json
)
Implementation
factory Visualization.fromJson(Map<String, dynamic> json) => Visualization(
contourPoints: json["contourPoints"] == null ? [] : List<List<List<int>>>.from(json["contourPoints"]!.map((x) => List<List<int>>.from(x.map((x) => List<int>.from(x.map((x) => x)))))),
contours: json["contours"] == null ? [] : List<List<int>>.from(json["contours"]!.map((x) => List<int>.from(x.map((x) => x)))),
textRect: json["textRect"] == null ? [] : List<int>.from(json["textRect"]!.map((x) => x)),
);