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