update abstract method

Future update(
  1. FireStoreDoc obj,
  2. DocumentReference<Object?> docRef
)

This method is used to update specific fields in a document with the provided object. This method only updates the fields that are specified in the object, leaving the other fields unchanged If the document does not exist, this method will throw an error.

Implementation

/// This method only updates the fields that are specified in the object,
/// leaving the other fields unchanged

/// If the document does not exist, this method will throw an error.
Future update(FireStoreDoc obj, DocumentReference docRef);