sampleFormat property

int get sampleFormat

Implementation

int get sampleFormat => red != null
    ? red!.type
    : slices.isEmpty
        ? 0
        : slices[slices.keys.first]!.type;