isConcrete property Null safety

bool isConcrete

Whether all the properties (except shadows) of this object are non-null.

Implementation

bool get isConcrete => size != null
  && fill != null
  && weight != null
  && grade != null
  && opticalSize != null
  && color != null
  && opacity != null;