DriftPageProvider<T, C, K> constructor 
    
      
      DriftPageProvider<T, C, K>({ - required K onKey( - T
 ),
- required C? onCursor( - T?
 ),
- FutureOr<List<T>> fetch({ - required int after, 
- K? around, 
- required int before, 
 })?,
- FutureOr<Stream<List<T>>> watch({ - int? after, 
- K? around, 
- int? before, 
 })?,
- bool watchUpdates( - T a, 
- T b
 ) = _defaultWatchUpdates,
- Future<void> add( - Iterable<T> items, {
- bool toView, 
 })?,
- Future<void> delete( - K key
 )?,
- Future<void> reset()?, 
- bool? isFirst( - T, 
- int
 )?,
- bool? isLast( - T, 
- int
 )?,
- Future<void> onNone( - K key
 )?,
- int compare( - T, 
- T
 )?,
- bool fulfilledWhenNone = false, 
- void onAdded( - T
 )?,
- void onRemoved( - T
 )?,
})Implementation
  DriftPageProvider({
  required this.onKey,
  required this.onCursor,
  this.fetch,
  this.watch,
  this.watchUpdates = _defaultWatchUpdates,
  this.add,
  this.delete,
  this.reset,
  this.isFirst,
  this.isLast,
  this.onNone,
  this.compare,
  this.fulfilledWhenNone = false,
  this.onAdded,
  this.onRemoved,
}) : assert(fetch != null || watch != null);