update method

void update(
  1. String key,
  2. String? newValue
)

Implementation

void update(String key, String? newValue) {
  if (newValue == null || newValue.isEmpty) {
    preprocessed.remove(key);
  } else {
    preprocessed[key] = _preprocess({key: newValue})[key]!;
  }
}