FirestoreWriteServiceImpl class

Implementation of FirestoreWriteService

This class provides the concrete implementation of the FirestoreWriteService interface. It uses FirebaseFirestore to interact with Firestore and perform write operations such as saving and deleting documents.

Implemented types

Constructors

FirestoreWriteServiceImpl()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteDocument(String collection, String documentId) Future<void>
Deletes a document from Firestore by its ID.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveDocument(String collection, Map<String, dynamic> data) Future<void>
Saves a document to Firestore.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited