getUnderline static method
Method returns a line for the bottom of the message
Implementation
static String getUnderline(
int length, {
String lineSymbol = '─',
bool withCorner = false,
}) {
final line = lineSymbol * length;
if (withCorner) {
return '└$line';
}
return line;
}