isChildOf method

bool isChildOf(
  1. AstNode other
)

Implementation

bool isChildOf(AstNode other) => parents.contains(other);