hexPad method

String hexPad([
  1. int width = 2
])

Implementation

String hexPad([int width = 2]) => hex.padLeft(width, '0');