getStringListAsync function

List<String>? getStringListAsync(
  1. String key
)

Returns a StringList if exists in SharedPref

These codes are from nb_utils package.

Implementation

List<String>? getStringListAsync(String key) {
  return sharedPreferences.getStringList(key);
}