addEntity method
Implementation
@override
Future<DocumentEntity> addEntity(String documentID, DocumentEntity value) {
return documentCollection
.doc(documentID)
.set(value.toDocument())
.then((_) => value);
}
@override
Future<DocumentEntity> addEntity(String documentID, DocumentEntity value) {
return documentCollection
.doc(documentID)
.set(value.toDocument())
.then((_) => value);
}