SimpleDcFbConfig<T> class
Constructors
-
SimpleDcFbConfig({required String fbPath, required FirebaseFirestore fstore, required dynamic onException(FirebaseException), required T setId(T, String), int pageSize = 10, required FutureOr<
T> fromDoc(QueryDocumentSnapshot<Map< ), required Map<String, dynamic> >String, dynamic> toDocWithId(T), sortChoice? initialSortBy, List<FilterFunc> constFilters(String id)?, dynamic onLoad(bool)?, dynamic onReachEnd(int)?})
Properties
-
constFilters
→ List<
FilterFunc> Function(String id)? -
final
- fbPath → String
-
final
-
fromDoc
→ FutureOr<
T> Function(QueryDocumentSnapshot<Map< )String, dynamic> > -
final
- fstore → FirebaseFirestore
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialSortBy → sortChoice?
-
final
- onException → dynamic Function(FirebaseException)
-
final
- onLoad → dynamic Function(bool)?
-
final
- onReachEnd → dynamic Function(int)?
-
final
- pageSize → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- setId → T Function(T, String)
-
final
-
toDocWithId
→ Map<
String, dynamic> Function(T) -
toDoc=toJson
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited