printWrapped method

void printWrapped(
  1. String text
)

データ表示用(デバッグ用) text テキスト

Implementation

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