setStringList static method

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

Saves a string list value to persistent storage under the specified app group.

If value is null, this is equivalent to calling remove() on the key.

Implementation

static Future<void> setStringList(String key, List<String>? value) async {
  await _setValue('StringArray', key, value);
}