lengthInSamples property

int get lengthInSamples

Length of the result, in samples.

Implementation

int get lengthInSamples =>
    regions.fold(0, (total, region) => total + region.length);