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