PolygonPoint.fromJson constructor

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

Implementation

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