AvataaarMouth class

Mixed-in types
Implementers
Annotations
  • @freezed

Constructors

AvataaarMouth.concerned()
const
factory
AvataaarMouth.default0()
const
factory
AvataaarMouth.disbelief()
const
factory
AvataaarMouth.eating()
const
factory
AvataaarMouth.fromIndex(int index)
creates AvataaarMouth based on the index found in AvataaarMouth.all
factory
AvataaarMouth.fromJson(Map<String, dynamic> json)
factory
AvataaarMouth.grimace()
const
factory
AvataaarMouth.random()
creates random AvataaarMouth
factory
AvataaarMouth.sad()
const
factory
AvataaarMouth.screamOpen()
const
factory
AvataaarMouth.serious()
const
factory
AvataaarMouth.smile()
const
factory
AvataaarMouth.tongue()
const
factory
AvataaarMouth.twinkle()
const
factory
AvataaarMouth.vomit()
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 concerned(AvataaarTypeMouthConcerned value), required TResult default0(AvataaarTypeMouthDefault0 value), required TResult disbelief(AvataaarTypeMouthDisbelief value), required TResult eating(AvataaarTypeMouthEating value), required TResult grimace(AvataaarTypeMouthGrimace value), required TResult sad(AvataaarTypeMouthSad value), required TResult screamOpen(AvataaarTypeMouthScreamOpen value), required TResult serious(AvataaarTypeMouthSerious value), required TResult smile(AvataaarTypeMouthSmile value), required TResult tongue(AvataaarTypeMouthTongue value), required TResult twinkle(AvataaarTypeMouthTwinkle value), required TResult vomit(AvataaarTypeMouthVomit value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult concerned(AvataaarTypeMouthConcerned value)?, TResult default0(AvataaarTypeMouthDefault0 value)?, TResult disbelief(AvataaarTypeMouthDisbelief value)?, TResult eating(AvataaarTypeMouthEating value)?, TResult grimace(AvataaarTypeMouthGrimace value)?, TResult sad(AvataaarTypeMouthSad value)?, TResult screamOpen(AvataaarTypeMouthScreamOpen value)?, TResult serious(AvataaarTypeMouthSerious value)?, TResult smile(AvataaarTypeMouthSmile value)?, TResult tongue(AvataaarTypeMouthTongue value)?, TResult twinkle(AvataaarTypeMouthTwinkle value)?, TResult vomit(AvataaarTypeMouthVomit value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult concerned(AvataaarTypeMouthConcerned value)?, TResult default0(AvataaarTypeMouthDefault0 value)?, TResult disbelief(AvataaarTypeMouthDisbelief value)?, TResult eating(AvataaarTypeMouthEating value)?, TResult grimace(AvataaarTypeMouthGrimace value)?, TResult sad(AvataaarTypeMouthSad value)?, TResult screamOpen(AvataaarTypeMouthScreamOpen value)?, TResult serious(AvataaarTypeMouthSerious value)?, TResult smile(AvataaarTypeMouthSmile value)?, TResult tongue(AvataaarTypeMouthTongue value)?, TResult twinkle(AvataaarTypeMouthTwinkle value)?, TResult vomit(AvataaarTypeMouthVomit value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult concerned()?, TResult default0()?, TResult disbelief()?, TResult eating()?, TResult grimace()?, TResult sad()?, TResult screamOpen()?, TResult serious()?, TResult smile()?, TResult tongue()?, TResult twinkle()?, TResult vomit()?, required TResult orElse()}) → TResult
inherited
next() AvataaarMouth
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
previous() AvataaarMouth
toIndex() int
returns the index of AvataaarMouth.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
Individual SVG Part, only usable with the whole Avataaar
when<TResult extends Object?>({required TResult concerned(), required TResult default0(), required TResult disbelief(), required TResult eating(), required TResult grimace(), required TResult sad(), required TResult screamOpen(), required TResult serious(), required TResult smile(), required TResult tongue(), required TResult twinkle(), required TResult vomit()}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult concerned()?, TResult default0()?, TResult disbelief()?, TResult eating()?, TResult grimace()?, TResult sad()?, TResult screamOpen()?, TResult serious()?, TResult smile()?, TResult tongue()?, TResult twinkle()?, TResult vomit()?}) → 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<AvataaarMouth>