repeatCount property

int get repeatCount

The number of repetitions of the baseToken.

Implementation

int get repeatCount => length ~/ baseToken.length;