FirestoreDataSource class
Methods
-
addDocToCollection<Model extends BaseModel>(String path, BaseModel data)
→ Future<String>
-
override
-
collectionPath(List<String> pathParam)
→ CollectionReference<Map<String, dynamic>>
-
-
delete(String path)
→ dynamic
-
override
-
getCollectionStream<Model extends BaseModel>(String path, {List<QueryType>? where, Map<String, bool>? orderby, int? limit})
→ Stream<List<Model>>
-
override
-
getCollectionwithParams<Model extends BaseModel>(String path, {List<QueryType>? where, Map<String, bool>? orderby, int? limit, String? startAfterID})
→ Future<List<Model>>
-
override
-
getSingleById<Model extends BaseModel>(String path)
→ Future<Model>
-
override
-
getStreamByID<Model extends BaseModel>(String path)
→ Stream<Model>
-
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
queryConstruction(Query<Object?> query, {List<QueryType>? where, Map<String, bool>? orderby, int? limit, DocumentSnapshot<Object?>? startAfter})
→ Query<Object?>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
update(String path, BaseModel data)
→ Future<void>
-
override