toSvgString method
Individual SVG Part, only usable with the whole Avataaar
Implementation
String toSvgString(String maskID) => when(
tanned: (color) => makeSkin(maskID, color),
yellow: (color) => makeSkin(maskID, color),
pale: (color) => makeSkin(maskID, color),
light: (color) => makeSkin(maskID, color),
brown: (color) => makeSkin(maskID, color),
darkBrown: (color) => makeSkin(maskID, color),
black: (color) => makeSkin(maskID, color),
custom: (color) => makeSkin(maskID, color),
);