fromLab method Null safety

int fromLab (
  1. num L,
  2. num a,
  3. num b
)

Create a color value from CIE-L*ab values.

Implementation

static int fromLab(num L, num a, num b) {
  final rgb = labToRgb(L, a, b);
  return getColor(rgb[0], rgb[1], rgb[2]);
}