SimpleDcFbConfig<T> constructor
SimpleDcFbConfig<T> ({
- required String fbPath,
- required FirebaseFirestore fstore,
- required dynamic onException(
- FirebaseException
- required T setId(
- T,
- String
- int pageSize = 10,
- required FutureOr<
T> fromDoc(), - required Map<
String, dynamic> toDocWithId(- T
- sortChoice? initialSortBy,
- List<
FilterFunc> constFilters(- String id
- dynamic onLoad()?,
- dynamic onReachEnd()?,
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});