AvataaarGraphics.fromIndex constructor

AvataaarGraphics.fromIndex(
  1. int index
)

creates AvataaarGraphics based on the index found in AvataaarGraphics.all

Implementation

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