Skip to content

Instantly share code, notes, and snippets.

@wiredprairie
Created February 23, 2018 01:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wiredprairie/06a72c5aaf23989359584de986fc7e3c to your computer and use it in GitHub Desktop.
Save wiredprairie/06a72c5aaf23989359584de986fc7e3c to your computer and use it in GitHub Desktop.
Future<File> _getCacheFile() async {
var dir = (await getApplicationDocumentsDirectory()).path;
return new File('$dir/hotlist.xml');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment