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