set abstract method

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

Sets a configuration value for the specified key.

This can be used to override existing values or define new ones at runtime.

Example:

config.set('app.debug', true);

Implementation

void set(String key, dynamic value);