setStringList method
Saves a list of strings with the given key.
This method stores a list of string values in the storage, associating it with the specified key. If a value already exists for this key, it will be replaced.
Parameters:
key- The unique identifier for the string list.value- The list of strings to store.
Returns a Future that completes when the string list has been successfully stored.
Throws:
- ArgumentError if the key is invalid.
Implementation
@override
Future<void> setStringList(String key, List<String> value) async => _data[key] = value;