discontinuedPackage dart_console2 has been discontinued and replaced by dart_console.

horizontalLine property

String get horizontalLine

Implementation

String get horizontalLine => glyphs?[0] ?? '';