containsSpecialCharacters method

bool containsSpecialCharacters(
  1. String str
)

Check string is contains special characters.

Implementation

bool containsSpecialCharacters(String str) {
  RegExp reg = RegExp(_Regex().containsSpecialCharacters);

  return reg.hasMatch(str);
}