Methods
-
map<TResult extends Object?>({required TResult transparent(AvataaarTypeStyleTransparent value), required TResult circle(AvataaarTypeStyleCircle value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult transparent(AvataaarTypeStyleTransparent value)?, TResult circle(AvataaarTypeStyleCircle value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult transparent(AvataaarTypeStyleTransparent value)?, TResult circle(AvataaarTypeStyleCircle value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult transparent(Color color)?, TResult circle(Color color)?, required TResult orElse()})
→ TResult
-
inherited
-
next([Color? color])
→ AvataaarStyle
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
previous([Color? color])
→ AvataaarStyle
-
inherited
-
toIndex()
→ int
-
returns the index of AvataaarStyle.all, or -1 if no entry is found
inherited
-
toJson()
→ Map<String, dynamic>
-
inherited
-
toLabel([String languageCode = 'en'])
→ String
-
based on
languageCode
and LocalizationStrings returns the label
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
toSvgString(String path1, String path2, String mask2)
→ String
-
Individual SVG Part, only usable with the whole Avataaar
inherited
-
when<TResult extends Object?>({required TResult transparent(Color color), required TResult circle(Color color)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult transparent(Color color)?, TResult circle(Color color)?})
→ TResult?
-
inherited