viewModelPropertyId property
Identifier of the property this value will provide data for. At runtime these ids are normalized relative to the ViewModel itself.
Implementation
int get viewModelPropertyId => _viewModelPropertyId;
Change the _viewModelPropertyId
field value.
viewModelPropertyIdChanged
will be invoked only if the field's value has
changed.
Implementation
set viewModelPropertyId(int value) {
if (_viewModelPropertyId == value) {
return;
}
int from = _viewModelPropertyId;
_viewModelPropertyId = value;
if (hasValidated) {
viewModelPropertyIdChanged(from, value);
}
}