cap property
int
cap
Implementation
int get cap => _cap;
Change the _cap
field value.
capChanged will be invoked only if the field's value has changed.
Implementation
set cap(int value) {
if (_cap == value) {
return;
}
int from = _cap;
_cap = value;
if (hasValidated) {
capChanged(from, value);
}
}