FirestoreRepoImpl class
- Implemented types
Constructors
- FirestoreRepoImpl({required DocumentMapper documentMapper, required FirestoreApiProvider firestoreApiProvider, required FirestorePathUtils firestorePathUtils})
Properties
- documentMapper → DocumentMapper
-
final
- firestore → ProjectsDatabasesDocumentsResource
-
no setter
- firestoreApiProvider → FirestoreApiProvider
-
final
- firestorePathUtils → FirestorePathUtils
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addCollection(
{required String documentPath, required JsonObject json, String? changeRootName}) → FutureOr< void> -
override
-
addDocument(
{required String collectionPath, required JsonObject json, String? changeRootName}) → FutureOr< void> -
override
-
deleteCollection(
{String absolutePath = '', String collectionPath = ''}) → FutureOr< void> -
override
-
deleteDocument(
{String absolutePath = '', String documentPath = ''}) → FutureOr< void> -
override
-
dispose(
) → FutureOr< void> -
override
-
getCollection(
{required String collectionPath, String? changeRootName}) → FutureOr< JsonObject> -
override
-
getDocument(
{required String documentPath, String? changeRootName}) → FutureOr< JsonObject> -
override
-
init(
{required String projectId, String databaseId = '(default)'}) → FutureOr< void> -
override
-
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