numberOfChannels property

int get numberOfChannels

The number of channels used by the image

Implementation

int get numberOfChannels => slices.length;