setValue method

bool setValue(
  1. dynamic newValue
)

Implementation

bool setValue(dynamic newValue) {
  bool returnValue = false;

  if (newValue != value) {
    for (DataProperty property in properties) {
      property.isDirty = true;
    }
    returnValue = true;
    value       = newValue;
  }
  return returnValue;
}