printLongString method
Implementation
void printLongString(String text) {
final RegExp pattern = RegExp('.{1,800}'); // 800 is the size of each chunk
pattern
.allMatches(text)
.forEach((RegExpMatch match) => print(match.group(0)));
}
void printLongString(String text) {
final RegExp pattern = RegExp('.{1,800}'); // 800 is the size of each chunk
pattern
.allMatches(text)
.forEach((RegExpMatch match) => print(match.group(0)));
}