match method

bool match(
  1. String path
)

Implementation

bool match(String path) => RegExp('^$route\$').hasMatch(path);