AvataaarSkin class sealed
- Implemented types
- Mixed-in types
- Implementers
- Annotations
-
- @MappableClass.new(includeCustomMappers: [ColorMapper()])
Constructors
- AvataaarSkin.fromIndex(int index)
-
creates AvataaarSkin based on the index found in AvataaarSkin.all
factory
- AvataaarSkin.random()
-
creates random AvataaarSkin
factory
Properties
- color → Color
-
final
-
copyWith
→ AvataaarSkinCopyWith<
AvataaarSkin, AvataaarSkin, AvataaarSkin> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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(
) → String -
inherited
-
toLabel(
[String languageCode = 'en']) → String -
based on
languageCodeand LocalizationStrings returns the labeloverride -
toMap(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toSvgPart(
) → String -
toSvgString(
String maskID) → String - Individual SVG Part, only usable with the whole Avataaar
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
all
→ List<
AvataaarSkin> -
final
- fromJson → AvataaarSkin Function(String json)
-
final
-
fromMap
→ AvataaarSkin Function(Map<
String, dynamic> map) -
final