Point.fromJson constructor

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

Implementation

factory Point.fromJson(Map<String, dynamic> json) {
  return Point(json['x'], json['y']);
}