factory NPointBounds.fromJson(Map<String, dynamic> json) { return NPointBounds( min: NPoint.fromJson(json['min'] ?? {}), max: NPoint.fromJson(json['max'] ?? {}), ); }