toHex method

String toHex()

Implementation

String toHex() =>
    '#${value.toRadixString(16).substring(2, value.toRadixString(16).length)}'
        .toUpperCase();