getCurrentFile method

Future<File?> getCurrentFile()

Implementation

Future<File?> getCurrentFile() async {
  var file = File('$location/${getFileName()}');
  if (file.existsSync() == false) {
    return null;
  }
  return file;
}