Parse from a json
factory Point.fromJson(Map<String, dynamic> json) => Point( x: json['x'], y: json['y'], );