complementPair property

List<Color> complementPair

Returns a two-entry List<Color> containing this and the inverse of this, resembling:

[this, -this]

This getter is more optimized than complementary(2).

Implementation

List<Color> get complementPair => [this, -this];