next method

Implementation

AvataaarGraphics next() {
  final i = toIndex();
  final nextI = (i + 1) >= all.length ? 0 : (i + 1);
  return AvataaarGraphics.fromIndex(nextI);
}