setStringList static method

Future<void> setStringList(
  1. String key,
  2. List<String> data
)

Implementation

static Future<void> setStringList(String key, List<String> data) async {
  await prefs?.setStringList(key, data);
}