utils/url_file_cache library

Classes

UrlFileCache
UrlFileCache

Functions

loadUriText(Uri uri, {Directory? cacheDir, UrlFileCache? fileCache, Client? client, Duration? ttl, bool forceRefresh = false}) → Future<String>
Companion helper function to fetch plain text (UTF-8 string) from a Uri.