getCachedJson static method

Future<String> getCachedJson(
  1. String url
)

Implementation

static Future<String> getCachedJson(String url) async {
  final file = await instance.getSingleFile(url, key: key + url);
  return await file.readAsString();
}