toColor method

HexColor? toColor()

Implementation

HexColor? toColor() {
  if (isEmptyOrNull) {
    return null;
  }

  return HexColor(this);
}