opposite property

Brightness get opposite

Implementation

Brightness get opposite =>
    this == Brightness.light ? Brightness.dark : Brightness.light;