getLock function
Implementation
Lock getLock(String key) {
if (!_cacheLocks.containsKey(key)) {
_cacheLocks[key] = Lock(reentrant: true);
}
return _cacheLocks[key]!;
}
Lock getLock(String key) {
if (!_cacheLocks.containsKey(key)) {
_cacheLocks[key] = Lock(reentrant: true);
}
return _cacheLocks[key]!;
}