AvataaarGraphics class

Mixed-in types
Implementers
Annotations
  • @freezed

Constructors

AvataaarGraphics.bat()
const
factory
AvataaarGraphics.bear()
const
factory
AvataaarGraphics.cumbia()
const
factory
AvataaarGraphics.deer()
const
factory
AvataaarGraphics.diamond()
const
factory
AvataaarGraphics.fromIndex(int index)
creates AvataaarGraphics based on the index found in AvataaarGraphics.all
factory
AvataaarGraphics.fromJson(Map<String, dynamic> json)
factory
AvataaarGraphics.hola()
const
factory
AvataaarGraphics.pizza()
const
factory
AvataaarGraphics.random()
creates random AvataaarGraphics
factory
AvataaarGraphics.resist()
const
factory
AvataaarGraphics.selena()
const
factory
AvataaarGraphics.skull()
const
factory
AvataaarGraphics.skullOutline()
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult bat(AvataaarTypeGraphicsBat value), required TResult bear(AvataaarTypeGraphicsBear value), required TResult cumbia(AvataaarTypeGraphicsCumbia value), required TResult deer(AvataaarTypeGraphicsDeer value), required TResult diamond(AvataaarTypeGraphicsDiamond value), required TResult hola(AvataaarTypeGraphicsHola value), required TResult pizza(AvataaarTypeGraphicsPizza value), required TResult resist(AvataaarTypeGraphicsResist value), required TResult selena(AvataaarTypeGraphicsSelena value), required TResult skull(AvataaarTypeGraphicsSkull value), required TResult skullOutline(AvataaarTypeGraphicsSkullOutline value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult bat(AvataaarTypeGraphicsBat value)?, TResult bear(AvataaarTypeGraphicsBear value)?, TResult cumbia(AvataaarTypeGraphicsCumbia value)?, TResult deer(AvataaarTypeGraphicsDeer value)?, TResult diamond(AvataaarTypeGraphicsDiamond value)?, TResult hola(AvataaarTypeGraphicsHola value)?, TResult pizza(AvataaarTypeGraphicsPizza value)?, TResult resist(AvataaarTypeGraphicsResist value)?, TResult selena(AvataaarTypeGraphicsSelena value)?, TResult skull(AvataaarTypeGraphicsSkull value)?, TResult skullOutline(AvataaarTypeGraphicsSkullOutline value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult bat(AvataaarTypeGraphicsBat value)?, TResult bear(AvataaarTypeGraphicsBear value)?, TResult cumbia(AvataaarTypeGraphicsCumbia value)?, TResult deer(AvataaarTypeGraphicsDeer value)?, TResult diamond(AvataaarTypeGraphicsDiamond value)?, TResult hola(AvataaarTypeGraphicsHola value)?, TResult pizza(AvataaarTypeGraphicsPizza value)?, TResult resist(AvataaarTypeGraphicsResist value)?, TResult selena(AvataaarTypeGraphicsSelena value)?, TResult skull(AvataaarTypeGraphicsSkull value)?, TResult skullOutline(AvataaarTypeGraphicsSkullOutline value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult bat()?, TResult bear()?, TResult cumbia()?, TResult deer()?, TResult diamond()?, TResult hola()?, TResult pizza()?, TResult resist()?, TResult selena()?, TResult skull()?, TResult skullOutline()?, required TResult orElse()}) → TResult
inherited
next() AvataaarGraphics
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
previous() AvataaarGraphics
toIndex() int
returns the index of AvataaarGraphics.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
toSVGFunction() String Function(String)
Individual SVG Part, only usable with the whole Avataaar and AvataaarClothes.graphicShirt()
toSvgPart() String
when<TResult extends Object?>({required TResult bat(), required TResult bear(), required TResult cumbia(), required TResult deer(), required TResult diamond(), required TResult hola(), required TResult pizza(), required TResult resist(), required TResult selena(), required TResult skull(), required TResult skullOutline()}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult bat()?, TResult bear()?, TResult cumbia()?, TResult deer()?, TResult diamond()?, TResult hola()?, TResult pizza()?, TResult resist()?, TResult selena()?, TResult skull()?, TResult skullOutline()?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

toHeader([String languageCode = 'en']) String
returns the header string based on the languageCode

Constants

all → const List<AvataaarGraphics>