addValue method

void addValue(
  1. String key,
  2. dynamic value
)

Adds the given value at the given key to the storage.

The key and value is NOT persistent

Implementation

void addValue(String key, dynamic value) =>
    appConfig.putIfAbsent(key, () => value);