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