setLocked method

dynamic setLocked(
  1. dynamic lock
)

Implementation

setLocked(lock) {
  locked = lock;
}