values property

Map<String, Object> get values

The values, by key: a read-only view that follows set and remove (nothing is copied). Copy it to keep the values as they are now.

Implementation

Map<String, Object> get values => _view ??= UnmodifiableMapView(_values);
set values (Map<String, Object> next)

Implementation

set values(Map<String, Object> next) {
  _values = {...next};
  _view = null;
  _revision++;
}