delete static method
Implementation
static delete({
required String collectionName,
}) async {
var ref = getRef(
collectionName: collectionName,
);
try {
if (Platform.isWindows) {
return await ref.delete();
} else {
return await ref.delete();
}
} on Exception catch (_) {
print(_);
}
}