fromJson static method
Implementation
static DomRange? fromJson(Map<String, dynamic>? json) {
Point? start = Point.fromJson(json?.optJSONObject("start"));
if (start == null) {
return null;
}
return DomRange(
start: start, end: Point.fromJson(json?.optJSONObject("end")));
}