isValidHexId method

bool isValidHexId(
  1. String poolId
)

Checks if the given ID is a valid 4-character hexadecimal value.

This method returns a boolean indicating whether the ID passes validation.

poolId - The connection pool ID to validate.

Returns true if the ID is valid, false otherwise.

Implementation

bool isValidHexId(String poolId) {
  final validationResponse = _validateHexId(poolId);
  return validationResponse.succeeded;
}