putStringList method

void putStringList(
  1. String key,
  2. List<String>? values
)

Saves the given value to the map for the given key. If the value is null, the previous mapping is removed (if any)

Implementation

void putStringList(String key, List<String>? values) {
  if (values == null) {
    _internalMap.remove(key);
  } else {
    _internalMap[key] = values;
  }
}