PagedNotifier<PageKeyType, ItemType> constructor

PagedNotifier<PageKeyType, ItemType>({
  1. required LoadFunction<PageKeyType, ItemType> load,
  2. required NextPageKeyBuilder<PageKeyType, ItemType> nextPageKeyBuilder,
  3. String? errorBuilder(
    1. dynamic error
    )?,
})

Implementation

PagedNotifier(
    {required LoadFunction<PageKeyType, ItemType> load,
    required this.nextPageKeyBuilder,
    this.errorBuilder})
    : _load = load,
      super(PagedState<PageKeyType, ItemType>());