setStringList method

Future<bool> setStringList(
  1. String key,
  2. List<String> values
)

Sets a String list value and notifies all active listeners that there's a new value for the key.

Returns true if a value was successfully set for the key, otherwise returns false.

Implementation

Future<bool> setStringList(String key, List<String> values) {
  return setCustomValue(key, values, adapter: StringListAdapter.instance);
}