SimpleDcFbController<T> class

Constructors

SimpleDcFbController(Ref ref, String? myid, SimpleDcFbConfig<T> config, {bool initialLoad = false})

Properties

config SimpleDcFbConfig<T>
final
fbCol → CollectionReference<Map<String, dynamic>>
no setter
hashCode int
The hash code for this object.
no setterinherited
myid String?
final
ref → Ref
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(T t, {bool addToState = true, bool toLast = true}) Future<T?>
addMore(List<T>? origin, List<T> add, {bool toLast = true}) List<T>
delete(T t) Future<T?>
edit(T t) Future<T?>
fbDoc(String id) → DocumentReference<Object?>
getId(T t) String
load({sortChoice? sortBy, List<FilterFunc> filters = const [], bool loadMore = false}) Future<int?>
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

Constants

idKey → const String