hex property Null safety

String hex

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

Implementation

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