AvataaarTypeClothesColarSweater class abstract

Inheritance

Constructors

AvataaarTypeClothesColarSweater([@ColorSerialiser() Color color])
const
factory
AvataaarTypeClothesColarSweater.fromJson(Map<String, dynamic> json)
factory

Properties

color Color
no setteroverride
copyWith → $AvataaarTypeClothesColarSweaterCopyWith<AvataaarTypeClothesColarSweater>
no setteroverride
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 blazerShirt(AvataaarTypeClothesBlazerShirt value), required TResult blazerSweater(AvataaarTypeClothesBlazerSweater value), required TResult collarSweater(AvataaarTypeClothesColarSweater value), required TResult graphicShirt(AvataaarTypeClothesGraphicShirt value), required TResult hoodie(AvataaarTypeClothesHoodie value), required TResult overall(AvataaarTypeClothesOverall value), required TResult shirtCrewNeck(AvataaarTypeClothesShirtCrewNeck value), required TResult shirtScoopNeck(AvataaarTypeClothesShirtScoopNeck value), required TResult shirtVNeck(AvataaarTypeClothesShirtVNeck value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult blazerShirt(AvataaarTypeClothesBlazerShirt value)?, TResult blazerSweater(AvataaarTypeClothesBlazerSweater value)?, TResult collarSweater(AvataaarTypeClothesColarSweater value)?, TResult graphicShirt(AvataaarTypeClothesGraphicShirt value)?, TResult hoodie(AvataaarTypeClothesHoodie value)?, TResult overall(AvataaarTypeClothesOverall value)?, TResult shirtCrewNeck(AvataaarTypeClothesShirtCrewNeck value)?, TResult shirtScoopNeck(AvataaarTypeClothesShirtScoopNeck value)?, TResult shirtVNeck(AvataaarTypeClothesShirtVNeck value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult blazerShirt(AvataaarTypeClothesBlazerShirt value)?, TResult blazerSweater(AvataaarTypeClothesBlazerSweater value)?, TResult collarSweater(AvataaarTypeClothesColarSweater value)?, TResult graphicShirt(AvataaarTypeClothesGraphicShirt value)?, TResult hoodie(AvataaarTypeClothesHoodie value)?, TResult overall(AvataaarTypeClothesOverall value)?, TResult shirtCrewNeck(AvataaarTypeClothesShirtCrewNeck value)?, TResult shirtScoopNeck(AvataaarTypeClothesShirtScoopNeck value)?, TResult shirtVNeck(AvataaarTypeClothesShirtVNeck value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult blazerShirt(Color color)?, TResult blazerSweater(Color color)?, TResult collarSweater(Color color)?, TResult graphicShirt(Color color)?, TResult hoodie(Color color)?, TResult overall(Color color)?, TResult shirtCrewNeck(Color color)?, TResult shirtScoopNeck(Color color)?, TResult shirtVNeck(Color color)?, required TResult orElse()}) → TResult
inherited
next([Color? color]) AvataaarClothes
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
previous([Color? color]) AvataaarClothes
inherited
toIndex() int
returns the index of AvataaarClothes.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
toSvgPart([AvataaarGraphics? graphics]) String
inherited
toSvgString([AvataaarGraphics? graphics]) String
Individual SVG Part, only usable with the whole Avataaar
inherited
when<TResult extends Object?>({required TResult blazerShirt(Color color), required TResult blazerSweater(Color color), required TResult collarSweater(Color color), required TResult graphicShirt(Color color), required TResult hoodie(Color color), required TResult overall(Color color), required TResult shirtCrewNeck(Color color), required TResult shirtScoopNeck(Color color), required TResult shirtVNeck(Color color)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult blazerShirt(Color color)?, TResult blazerSweater(Color color)?, TResult collarSweater(Color color)?, TResult graphicShirt(Color color)?, TResult hoodie(Color color)?, TResult overall(Color color)?, TResult shirtCrewNeck(Color color)?, TResult shirtScoopNeck(Color color)?, TResult shirtVNeck(Color color)?}) → TResult?
inherited

Operators

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