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