hex property

String hex

Value in hex String notation. (e.g. 0x1234)

Implementation

String get hex => '0x${toRadixString(16).padLeft(4, '0')}';