rightJustify method Null safety

  1. @protected
String rightJustify(
  1. String s,
  2. int len
)

Implementation

@protected
String rightJustify(String s, int len) {
  int nw = _noWidth.allMatches(s).length;
  return s.padLeft(6 + nw);
}