printWrapped function
Implementation
void printWrapped(Object text) {
final pattern = RegExp('.{1,800}'); // 800 is the size of each chunk
pattern
.allMatches(text.toString())
.forEach((match) => logger(match.group(0)));
}
void printWrapped(Object text) {
final pattern = RegExp('.{1,800}'); // 800 is the size of each chunk
pattern
.allMatches(text.toString())
.forEach((match) => logger(match.group(0)));
}