viewModelPropertyId property

int get viewModelPropertyId
inherited

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;
set viewModelPropertyId (int value)
inherited

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);
  }
}