FireStoreCollection class
todo: This has to be split up to a parent class.
Constructors
- FireStoreCollection(String path)
Properties
Methods
-
add(
Map< String, dynamic> data) → Future<String> -
currentUser(
) → Future< User?> - The current user. No longer async operation but we'll keep it backward-compatible.
-
delete(
String? docId) → Future< bool> -
getError(
[Object? ex]) → Exception -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
runTransaction(
TransactionHandler transactionHandler, {Duration timeout = const Duration(seconds: 10)}) → Future< Map< String, dynamic> > - Doubled the attempt duration to 10 seconds.
-
setError(
Object ex) → Exception -
toString(
) → String -
A string representation of this object.
inherited
-
update(
String path, Map< String, dynamic> data) → Future<bool>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited