debugHandleCount property Null safety

int debugHandleCount

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;
}