threeDigits method

String threeDigits(
  1. int n
)

Implementation

String threeDigits(int n) => n.toString().padLeft(3, "0");