FirestoreDocument constructor

FirestoreDocument({
  1. required FirestoreDocumentPath path,
  2. required List<FireValue> fireValues,
  3. FireGuards fireGuards = const FireGuards(),
})

Creates a new FirestoreDocument instance.

Requires the document's path within the Firestore database and a fieldSet containing the document's fields and their values.

Implementation

FirestoreDocument({
  required super.path,
  required super.fireValues,
  super.fireGuards,
});