RegionPoint.fromJson constructor

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

Creates a RegionPoint instance from a JSON representation.

Implementation

RegionPoint.fromJson(Map<String, dynamic> json) {
  x = json['x'];
  y = json['y'];
}