isConcrete property Null safety

bool isConcrete

Whether all the properties of this object are non-null.

Implementation

bool get isConcrete => color != null && opacity != null && size != null;