remove method
Removes the mapping previously registered with uri.
Returns true if a mapping was removed.
Implementation
bool remove(String uri) {
final compiled = "^$uri\$";
for (int i = 0, len = _mapping.length; i < len; ++i)
if (_mapping[i].pattern.pattern == compiled) {
_mapping.removeAt(i);
return true;
}
return false;
}