isLibrary property

bool get isLibrary

Whether this builder is a library builder.

Implementation

bool get isLibrary => this == BuilderType.library;