deleteFile method

Future<bool> deleteFile()

Implementation

Future<bool> deleteFile() async {
  try {
    if (logFile != null) {
      logFile!.delete();
      return true;
    }

    return false;
  } catch (e) {
    return false;
  }
}