isEmpty property

bool isEmpty

Whether the input has no component and directives.

Implementation

bool get isEmpty => components.isEmpty && directives.isEmpty;