deleteFile function

Future<void> deleteFile(
  1. String filePath
)

Deletes the file located at filePath.

Implementation

Future<void> deleteFile(String filePath) async {
  final localSystemFilePath = toLocalSystemPathFormat(filePath);
  final file = File(localSystemFilePath);
  await file.delete();
}