readLocationFileInBackgroundService function

Future<String> readLocationFileInBackgroundService()

Implementation

Future<String> readLocationFileInBackgroundService() async {
  var directory = await getExternalStorageDirectory();
  directory ??= await getDownloadsDirectory();
  return '${directory?.path}/Download/location_data.txt';
}