hex static method
Check if the value is a valid hexadecimal number.
Implementation
static String? hex(String? value, {String? message}) =>
value == null || value.isEmpty || validations.isHexadecimal(value) ? null : message ?? 'Please enter a valid hexadecimal';