truncateLeft method
Printer<T>
truncateLeft(
- int width, {
- String ellipsis = defaultEllipsis,
- TruncateMethod method = TruncateMethod.characters,
Truncates the string from the left side if it is longer than width.
Implementation
Printer<T> truncateLeft(int width,
{String ellipsis = defaultEllipsis,
TruncateMethod method = TruncateMethod.characters}) =>
TruncateLeftPrinter<T>(this, width, ellipsis, method);