previous method

AvataaarAccessories previous()

Implementation

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