removeFile method

Future<void> removeFile(
  1. String path
)

Removes the file located at path.

Implementation

Future<void> removeFile(String path) async {
  final file = instance.ref().child(path);
  await file.delete().catchError((_) {});
}