isHexadecimal property

bool get isHexadecimal

Implementation

bool get isHexadecimal => RegExp(r'^#?([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$').hasMatch(this);