isMatch method

bool isMatch(
  1. String regexp
)

Implementation

bool isMatch(String regexp) {
  return RegExp(regexp).hasMatch(this);
}