setMin method Null safety

  1. @override
void setMin(
  1. PvrtcColorRgba c
)
override

Implementation

@override
void setMin(PvrtcColorRgba c) {
  if (c.r < r) {
    r = c.r;
  }
  if (c.g < g) {
    g = c.g;
  }
  if (c.b < b) {
    b = c.b;
  }
  if (c.a < a) {
    a = c.a;
  }
}