requiresImport property

bool get requiresImport

Whether the route import needs to be added.

Implementation

bool get requiresImport => !hasImport && !hasRegistration;