previous method

AvataaarSkin previous()

Implementation

AvataaarSkin previous() {
  final i = toIndex();
  final nextI = (i - 1) < 0 ? (all.length - 1) : (i - 1);
  return AvataaarSkin.fromIndex(nextI);
}