reset method

void reset(
  1. Map<String, dynamic> items
)

Replaces all current config with a deep copy of items.

Clears existing data first.

Implementation

void reset(Map<String, dynamic> items) {
  _items
    ..clear()
    ..addAll(_deepCopy(items));
}