setProperty method

  1. @override
void setProperty(
  1. String propertyName,
  2. dynamic value
)
override

Implementation

@override
void setProperty(String propertyName, value) {
  if (propertyName == "intensity") {
    intensity = value;
  } else {
    super.setProperty(propertyName, value);
  }
}