delete method

dynamic delete()

Implementation

delete() async{
  await getPath();
  final file = File('$path/log.txt');
  file.delete();
}