debugPrintWrapped static method

void debugPrintWrapped(
  1. String text
)

Implementation

static void debugPrintWrapped(String text) {
  final Pattern pattern = RegExp('.{1,800}'); // 800 is the size of each chunk
  pattern.allMatches(text).forEach(_printMatch);
}