toJson method

Map<String, dynamic> toJson()

Implementation

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