dotProd method Null safety

int dotProd(
  1. PvrtcColorRgba x
)

Implementation

int dotProd(PvrtcColorRgba x) => r * x.r + g * x.g + b * x.b + a * x.a;