AvataaarEyes.fromIndex constructor

AvataaarEyes.fromIndex(
  1. int index
)

creates AvataaarEyes based on the index found in AvataaarEyes.all

Implementation

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