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