catchAndReleaseMode property

bool get catchAndReleaseMode

Implementation

bool get catchAndReleaseMode => _catchAndReleaseMode;
set catchAndReleaseMode (bool val)

Implementation

set catchAndReleaseMode(bool val) {
  if (_catchAndReleaseMode && !val) {
    release(disableCatchAndRelease: true);
  } else {
    _catchAndReleaseMode = val;
  }
}