loadKeys static method

Future<List<String>> loadKeys({
  1. bool reload = false,
})

Implementation

static Future<List<String>> loadKeys({bool reload = false}) async {
  if (reload || _allKeys == null) {
    AssetManifest am = await AssetManifest.loadFromAssetBundle(rootBundle);
    _allKeys = am.listAssets();
  }
  return keyList;
}