twoDigits function

String twoDigits(
  1. int n
)

Implementation

String twoDigits(int n) => n.toString().padLeft(2, "0");