DataModel constructor

DataModel({
  1. int? page,
  2. int? size,
  3. List<ContentModel>? content,
  4. int? totalElements,
  5. bool? first,
  6. bool? last,
  7. SortModel? sort,
  8. int? totalPages,
})

Implementation

DataModel(
    {this.page,
    this.size,
    this.content,
    this.totalElements,
    this.first,
    this.last,
    this.sort,
    this.totalPages});