hexToNumber function

int? hexToNumber(
  1. dynamic value
)

Implementation

int? hexToNumber(dynamic value) {
  try {
    return value != null ? hexToBn(value).toInt() : null;
  } catch (e) {
    rethrow;
  }
}