setLocked method

void setLocked(
  1. dynamic lock
)

Implementation

void setLocked(lock) {
  locked = lock;
}