charId static method

String charId(
  1. int index, {
  2. int digitOffset = 0,
})

Returns UnitId.cycleId of given index. UnitId.az is used as input - so result is not case sensitive and without numbers. Set digitOffset to specify minimum length of final result.

For UnitId.aZ sequence results are: 0 - a 1 - b 26 - aa 27 - ab

Implementation

static String charId(int index, {int digitOffset = 0}) =>
    cycleId(index + _digitCycleOffset(digitOffset, az.length), az);