Map<String, dynamic> toJson() { final attributes = this.attributes; final id = this.id; return { 'attributes': attributes, 'id': id, }; }