ViewingConditions constructor Null safety

const ViewingConditions(
  1. {required List<double> whitePoint,
  2. required double adaptingLuminance,
  3. required double backgroundLstar,
  4. required double surround,
  5. required bool discountingIlluminant,
  6. required double backgroundYTowhitePointY,
  7. required double aw,
  8. required double nbb,
  9. required double ncb,
  10. required double c,
  11. required double nC,
  12. required List<double> drgbInverse,
  13. required List<double> rgbD,
  14. required double fl,
  15. required double fLRoot,
  16. required double z}
)

Implementation

const ViewingConditions(
    {required this.whitePoint,
    required this.adaptingLuminance,
    required this.backgroundLstar,
    required this.surround,
    required this.discountingIlluminant,
    required this.backgroundYTowhitePointY,
    required this.aw,
    required this.nbb,
    required this.ncb,
    required this.c,
    required this.nC,
    required this.drgbInverse,
    required this.rgbD,
    required this.fl,
    required this.fLRoot,
    required this.z});