FirebaseDatabase class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
startAfter
↔ DocumentSnapshot<Object?>?
-
getter/setter pair
Methods
-
createData(String collectionId, String mid, Map data)
→ Future<void>
-
override
-
createModel(String collectionId, AbsExModel model)
→ Future<void>
-
inherited
-
getAllData(String collectionId)
→ Future<List>
-
override
-
getData(String collectionId, String mid)
→ Future<Map<String, dynamic>>
-
override
-
initialize()
→ Future<void>
-
override
-
initStream({required String collectionId, required Map<String, dynamic> where, required String orderBy, bool descending = true, int? limit, bool hasPage = false})
→ dynamic
-
override
-
isNameExist(String collectionId, {required String value, String name = 'name'})
→ Future<bool>
-
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
queryData(String collectionId, {required Map<String, dynamic> where, required String orderBy, bool descending = true, int? limit, int? offset, List<Object?>? startAfter})
→ Future<List>
-
override
-
queryMaker(String mid, QueryValue value, Query<Object?> query)
→ Query<Object?>
-
-
queryPage(String collectionId, {required Map<String, QueryValue> where, required Map<String, OrderDirection> orderBy, int? limit, int? offset, List<Object?>? startAfter})
→ Future<List>
-
override
-
removeData(String collectionId, String mid)
→ Future<void>
-
override
-
removeModel(String collectionId, String mid)
→ Future<void>
-
inherited
-
setData(String collectionId, String mid, Map data)
→ Future<void>
-
override
-
setModel(String collectionId, AbsExModel model, {bool dontRealTime = false})
→ Future<void>
-
inherited
-
simpleQueryData(String collectionId, {required String name, required String value, required String orderBy, bool descending = true, int? limit, int? offset})
→ Future<List>
-
override
-
streamData({required String collectionId, required Widget consumerFunc(List<Map<String, dynamic>> resultList), required Map<String, dynamic> where, required String orderBy, bool descending = true, int? limit, bool hasPage = false})
→ Widget
-
override
-
streamData2({required dynamic snapshot, required Widget consumerFunc(List<Map<String, dynamic>> resultList), bool hasPage = false})
→ Widget
-
override
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateData(String collectionId, String mid, Map data)
→ Future<void>
-
override