Map<String, dynamic> toJson() { final pageNumber = this.pageNumber; return { if (pageNumber != null) 'pageNumber': pageNumber, }; }