setLock method
Sets whether the controller is locked.
Implementation
void setLock(bool isLock) {
if (_isDisposed) {
return;
}
value = value.copyWith(isLock: isLock);
}
Sets whether the controller is locked.
void setLock(bool isLock) {
if (_isDisposed) {
return;
}
value = value.copyWith(isLock: isLock);
}