set method

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

Implementation

@override
void set(String key, dynamic value) {
  if (_listeners[key] != null) {
    _listeners[key]!(value);
  }
  if (_data[key] != value) {
    _data[key] = value;
  }
}