loadFromAssets method

Future<NUIGlobalConfig?> loadFromAssets(
  1. List<String> name
)

Load the list of provided assets

Implementation

Future<NUIGlobalConfig?> loadFromAssets(List<String> name) async {
  print("NUIGlobalConfig: Loading list of assets = $name");
  for(String n in name){
    await loadFromAsset(n);
    print("NUIGlobalConfig: Loaded asset = $n, current config count = ${_appConfig.length}");
  }
  return this;
}