cap property

int cap

Implementation

int get cap => _cap;
void cap=(int value)

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;
  capChanged(from, value);
}