delete method
Implementation
@override
delete(String path) {
try {
var pathParam = path.split("/");
var collection = collectionPath(pathParam);
if (pathParam.length.isOdd) {
collection.doc(pathParam.removeAt(0)).delete();
} else {
throw IsNotDocException(
"Path does not end in a doc id", StackTrace.current);
}
} catch (err, s) {
throw DeleteSingleError(err.toString(), s);
}
}