debugHandleCount property Null safety
Returns the number of objects holding a LayerHandle to this layer.
This method throws if asserts are disabled.
Implementation
int get debugHandleCount {
late int count;
assert(() {
count = _refCount;
return true;
}());
return count;
}