update method

  1. @override
Future<DocumentModel> update(
  1. DocumentModel value
)
override

Implementation

@override
Future<DocumentModel> update(DocumentModel value) {
  return documentCollection
      .doc(value.documentID)
      .update(value.toEntity(appId: appId).toDocument())
      .then((_) => value);
}