toCharacterBreakStr static method
Implementation
static String? toCharacterBreakStr(String? word) {
if (word == null || word.isEmpty) {
return null;
}
String breakWord = '';
for (var element in word.runes) {
breakWord += String.fromCharCode(element);
breakWord += '\u200B';
}
return breakWord;
}