requiresDefinition property

bool get requiresDefinition

Whether the route definition needs to be added.

Implementation

bool get requiresDefinition => !hasDefinition;