Avataaar constructor
const
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,
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;