abbreviate method

String abbreviate(
  1. int maxWidth, {
  2. int offset = 0,
})

Abbreviates a String using dots.

See StringUtils.abbreviate

Implementation

String abbreviate(int maxWidth, {int offset = 0}) {
  return StringUtils.abbreviate(this, maxWidth, offset: offset);
}