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