load static method

Future<void> load()

Load settings from the delegate (if provided) into local cache.

Implementation

static Future<void> load() async {
  try {
    if (i._delegate == null) return;
    final response = await i._delegate!.get();
    if (response.data == null) return _log(response.error);
    i._props.addAll(response.data!);
  } catch (msg) {
    _log(msg);
  }
}