printWrapped function
Implementation
void printWrapped(String text) {
final pattern = RegExp('.{1,800}');
for (final match in pattern.allMatches(text)) {
debugPrint(match.group(0));
}
}
void printWrapped(String text) {
final pattern = RegExp('.{1,800}');
for (final match in pattern.allMatches(text)) {
debugPrint(match.group(0));
}
}