Map<String, Object?> toJson() { var ids = this.ids; var contentState = this.contentState; final json = <String, Object?>{}; json[r'ids'] = ids; json[r'contentState'] = contentState.toJson(); return json; }