lock method

void lock({
  1. required String key,
})
override

Implementation

void lock({required String key}) {
  if (key == null || key.length == 0) throw Exception(EXCEPTION__LOCK_KEY);
  _lockKey = key;
}