AvataaarAccessories.fromIndex constructor

AvataaarAccessories.fromIndex(
  1. int index
)

creates AvataaarAccessories based on the index found in AvataaarAccessories.all

Implementation

factory AvataaarAccessories.fromIndex(int index) =>
    AvataaarAccessories.all.elementAt(index);