padLeft method

String padLeft(
  1. int width, [
  2. String padding = ' '
])

Implementation

String padLeft(int width, [String padding = ' ']) =>
    toString().padLeft(width, padding);