isEmpty property

bool get isEmpty

Whether the input has no component and directives.

Implementation

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