or method Null safety

Color or(
  1. dynamic others
)

Exposure method for | operator: random Color access.

If others is Color, the return value is this or others.

If others is List<Color>, the return value is this or one of the entries from others.

Implementation

Color or(dynamic others) => this | others;