deleteTempFile method
Deletes a temporary filePath
.
Implementation
@override
Future<bool> deleteTempFile(String filePath) async {
if (_tempFiles.contains(filePath)) {
_tempFiles.remove(filePath);
await File(filePath).delete();
return true;
}
return false;
}