isSurrogatePair function
Returns true if str contains surrogate pairs.
Implementation
@experimental
bool isSurrogatePair(String str) => surrogatePairsReg.hasMatch(str);
Returns true if str contains surrogate pairs.
@experimental
bool isSurrogatePair(String str) => surrogatePairsReg.hasMatch(str);