operator [] method

Color? operator [](
  1. T index
)

Returns an element of the swatch table.

Implementation

Color? operator [](T index) => _swatch[index];