PageModel constructor

PageModel({
  1. int total = 0,
  2. int size = 10,
  3. int current = 1,
  4. int pages = 1,
  5. List<OrderItemModel> orders = const [],
  6. List<Map<String, dynamic>> records = const [],
})

Implementation

PageModel({
  this.total = 0,
  this.size = 10,
  this.current = 1,
  this.pages = 1,
  this.orders = const [],
  this.records = const [],
});