operator []= method
Sets the property property
, replacing other properties with the given
propertyName
first.
Implementation
operator []=(final String propertyName, final Property property) {
properties
..removeWhere((prop) => prop.name == propertyName)
..add(property);
}