Map<String, dynamic> toJson() { final json = <String, dynamic>{}; json[r'x'] = this.x; json[r'y'] = this.y; return json; }