operator [] method

  1. @override
num operator [](
  1. int index
)
override

Gets a channel from the color by its index.

Implementation

@override
num operator [](int index) => _getChannel(index);