storeList static method

Future<List<String>> storeList(
  1. String key
)

Implementation

static Future<List<String>> storeList(String key) async {
  try {
    if (_pref == null) await _init();
    return _pref!.getStringList(key) ?? [];
  } catch (e) {
    logs(e);
    return [];
  }
}