ListPage<T> constructor Null safety

const ListPage<T>(
  1. {List<T>? data,
  2. int? count,
  3. required int number,
  4. required int size}
)

Implementation

const factory ListPage(
    {List<T>? data,
    int? count,
    required int number,
    required int size}) = _ListPage;