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