isExample property

bool isExample

Whether this package is an example package as defined by examplePackage.

Implementation

bool get isExample => enclosingPackage?.examplePackage == this;