Avataaar constructor

const Avataaar({
  1. @Default(AvataaarHair.longHairStraight()) AvataaarHair hair,
  2. @Default(AvataaarAccessories.blank()) AvataaarAccessories accessory,
  3. @Default(AvataaarFacialHair.blank()) AvataaarFacialHair facialHair,
  4. @Default(AvataaarClothes.blazerShirt()) AvataaarClothes clothes,
  5. @Default(AvataaarGraphics.skull()) AvataaarGraphics graphics,
  6. @Default(AvataaarEyes.default0()) AvataaarEyes eyes,
  7. @Default(AvataaarEyebrow.default0()) AvataaarEyebrow eyebrow,
  8. @Default(AvataaarMouth.default0()) AvataaarMouth mouth,
  9. @Default(AvataaarSkin.light()) AvataaarSkin skin,
  10. @Default(AvataaarNose.default0()) AvataaarNose nose,
  11. @Default(AvataaarStyle.circle()) AvataaarStyle style,
})

Implementation

const factory Avataaar({
  @Default(AvataaarHair.longHairStraight()) AvataaarHair hair,
  @Default(AvataaarAccessories.blank()) AvataaarAccessories accessory,
  @Default(AvataaarFacialHair.blank()) AvataaarFacialHair facialHair,
  @Default(AvataaarClothes.blazerShirt()) AvataaarClothes clothes,
  @Default(AvataaarGraphics.skull()) AvataaarGraphics graphics,
  @Default(AvataaarEyes.default0()) AvataaarEyes eyes,
  @Default(AvataaarEyebrow.default0()) AvataaarEyebrow eyebrow,
  @Default(AvataaarMouth.default0()) AvataaarMouth mouth,
  @Default(AvataaarSkin.light()) AvataaarSkin skin,
  @Default(AvataaarNose.default0()) AvataaarNose nose,
  @Default(AvataaarStyle.circle()) AvataaarStyle style,
}) = _Avataaar;