getLongText method

String getLongText()

Implementation

String getLongText() {
  List<String> msgs = getAllText().split("\n");

  String text = "";

  for (var i = 0; i < msgs.length; i++) {
    String msg = msgs[i];
    if (msg.length > text.length) {
      text = msg.replaceAll(RegExp(r"\t"), " ");
    }
  }

  return "${" " * 2}${text}${" " * 2}";
}