SimpleDcFbConfig<T> constructor

SimpleDcFbConfig<T>({
  1. required String fbPath,
  2. required FirebaseFirestore fstore,
  3. required dynamic onException(
    1. FirebaseException
    ),
  4. required T setId(
    1. T,
    2. String
    ),
  5. int pageSize = 10,
  6. required FutureOr<T> fromDoc(
    1. QueryDocumentSnapshot<Map<String, dynamic>>
    ),
  7. required Map<String, dynamic> toDocWithId(
    1. T
    ),
  8. sortChoice? initialSortBy,
  9. List<FilterFunc> constFilters(
    1. String id
    )?,
  10. dynamic onLoad(
    1. bool
    )?,
  11. dynamic onReachEnd(
    1. int
    )?,
})

Implementation

SimpleDcFbConfig({required this.fbPath,required this.fstore,
  required this.onException,required this.setId,
  this.pageSize=10,required this.fromDoc, required this.toDocWithId,
  this.initialSortBy,this.constFilters,
  this.onLoad,this.onReachEnd});