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