indentBlock method
Indents every line of text by level repetitions of char.
Implementation
String indentBlock(String text, {int level = 1, String char = ' '}) {
final prefix = char * level;
return text.split('\n').map((l) => '$prefix$l').join('\n');
}