isDynamic property
bool
get
isDynamic
Checks if the route is dynamic (contains parameters).
Implementation
bool get isDynamic => path.contains(RegExp(r':\w+'));
Checks if the route is dynamic (contains parameters).
bool get isDynamic => path.contains(RegExp(r':\w+'));