LayerHandle<T extends Layer> constructor
Null safety
- [T? _layer]
Create a new layer handle, optionally referencing a Layer.
Implementation
LayerHandle([this._layer]) {
if (_layer != null) {
_layer!._refCount += 1;
}
}