isSurrogatePair function

bool isSurrogatePair(
  1. String str
)

check if the string contains any surrogate pairs chars

Implementation

bool isSurrogatePair(String str) => _surrogatePairsRegExp.hasMatch(str);