toSvgString method

String toSvgString()

Individual SVG Part, only usable with the whole Avataaar

Implementation

String toSvgString() => when(
      blank: (_) => FacialHair.blank,
      beardMedium: (color) => FacialHair.beardMedium(color),
      beardLight: (color) => FacialHair.beardLight(color),
      beardMajestic: (color) => FacialHair.beardMajestic(color),
      moustacheFancy: (color) => FacialHair.moustacheFancy(color),
      moustacheMagnum: (color) => FacialHair.moustacheMagnum(color),
    );