isDynamic property

bool get isDynamic

Checks if the route is dynamic (contains parameters).

Implementation

bool get isDynamic => path.contains(RegExp(r':\w+'));