deleteFile method

  1. @override
Future<void> deleteFile(
  1. String filePath
)
override

Deletes a file at the specified path

filePath - Path of the file to delete

Implementation

@override
Future<void> deleteFile(String filePath) async {
  final file = _fileFor(filePath);
  if (await file.exists()) {
    await file.delete();
  }
}