tryHexToBool static method

bool? tryHexToBool(
  1. String? v
)

Implementation

static bool? tryHexToBool(String? v) {
  try {
    return hexToBool(v!);
  } catch (e) {
    return null;
  }
}