put method

  1. @override
void put(
  1. JsonPath path,
  2. dynamic value, {
  3. required AttributeSource source,
})
override

Put is like set, but it's not assumed that the data has been sanitized

Implementation

@override
void put(JsonPath path, value, {required AttributeSource source}) {
  _put(path, value);
  _changeStream.add(Attribute(path, value, source: source));
  clearError(path, source: source);
  if (source == AttributeSource.control) {
    _isModified = true;
  }
}