fromValue method Null safety

HexColor? fromValue(
  1. int? value
)

Implementation

static HexColor? fromValue(int? value) {
  return value == null ? null : HexColor(value);
}