getStringList static method

Future<List<String>?> getStringList(
  1. String key
)

Implementation

static Future<List<String>?> getStringList(String key) async {
  SharedPreferences sharedPreferences = await SharedPreferences.getInstance();
  return sharedPreferences.getStringList(key);
}