toMap method

Map<String, dynamic> toMap()

Transform from Avataaar to map

Implementation

Map<String, dynamic> toMap() => {
      'Top': top.toMap(),
      'Clothes': clothes.toMap(),
      'Eyebrow': eyebrow.toMap(),
      'Eyes': eyes.toMap(),
      'Mouth': mouth.toMap(),
      'Skin': skin.toMap(),
      'Style': style.toMap(),
    };