factory PolygonPoint.fromJson(Map<String, dynamic> json) => PolygonPoint( x: (json['x'] as num).toDouble(), y: (json['y'] as num).toDouble(), );