AvataaarSkin class
- Mixed-in types
-
- Implementers
- Annotations
-
Methods
-
map<TResult extends Object?>({required TResult tanned(AvataaarTypeSkinTanned value), required TResult yellow(AvataaarTypeSkinYellow value), required TResult pale(AvataaarTypeSkinPale value), required TResult light(AvataaarTypeSkinWhite value), required TResult brown(AvataaarTypeSkinBrown value), required TResult darkBrown(AvataaarTypeSkinDarkBrown value), required TResult black(AvataaarTypeSkinBlack value), required TResult custom(AvataaarTypeSkinCustom value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult tanned(AvataaarTypeSkinTanned value)?, TResult yellow(AvataaarTypeSkinYellow value)?, TResult pale(AvataaarTypeSkinPale value)?, TResult light(AvataaarTypeSkinWhite value)?, TResult brown(AvataaarTypeSkinBrown value)?, TResult darkBrown(AvataaarTypeSkinDarkBrown value)?, TResult black(AvataaarTypeSkinBlack value)?, TResult custom(AvataaarTypeSkinCustom value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult tanned(AvataaarTypeSkinTanned value)?, TResult yellow(AvataaarTypeSkinYellow value)?, TResult pale(AvataaarTypeSkinPale value)?, TResult light(AvataaarTypeSkinWhite value)?, TResult brown(AvataaarTypeSkinBrown value)?, TResult darkBrown(AvataaarTypeSkinDarkBrown value)?, TResult black(AvataaarTypeSkinBlack value)?, TResult custom(AvataaarTypeSkinCustom value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult tanned(Color color)?, TResult yellow(Color color)?, TResult pale(Color color)?, TResult light(Color color)?, TResult brown(Color color)?, TResult darkBrown(Color color)?, TResult black(Color color)?, TResult custom(Color color)?, required TResult orElse()})
→ TResult
-
inherited
-
next()
→ AvataaarSkin
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
previous()
→ AvataaarSkin
-
-
toIndex()
→ int
-
returns the index of AvataaarSkin.all, or -1 if no entry is found
override
-
toJson()
→ Map<String, dynamic>
-
inherited
-
toLabel([String languageCode = 'en'])
→ String
-
based on
languageCode
and LocalizationStrings returns the label
override
-
toString()
→ String
-
A string representation of this object.
inherited
-
toSvgPart()
→ String
-
-
toSvgString(String maskID)
→ String
-
Individual SVG Part, only usable with the whole Avataaar
-
when<TResult extends Object?>({required TResult tanned(Color color), required TResult yellow(Color color), required TResult pale(Color color), required TResult light(Color color), required TResult brown(Color color), required TResult darkBrown(Color color), required TResult black(Color color), required TResult custom(Color color)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult tanned(Color color)?, TResult yellow(Color color)?, TResult pale(Color color)?, TResult light(Color color)?, TResult brown(Color color)?, TResult darkBrown(Color color)?, TResult black(Color color)?, TResult custom(Color color)?})
→ TResult?
-
inherited
Static Methods
-
returns the header string based on the
languageCode