setExternaValue method
void
setExternaValue(
- TValue value
Implementation
void setExternaValue(TValue value) {
if (_value == value) return;
_internalValue = _getSourceValue(value);
if (value == null && !_nullable) {
errors = [ValidationErrorsLocalized.REQUIRED];
return;
}
_value = value;
errors = validate(value);
eventSubject.sink
.add(FieldChangedEvent(this, _value, FieldChangeSource.external));
}