parentElement property

PCanvasElement? get parentElement

Implementation

PCanvasElement? get parentElement {
  final parent = this.parent;
  if (parent is PCanvasElement) {
    return parent as PCanvasElement;
  }
  return null;
}