FacialHair class
- Implemented types
Constructors
- FacialHair({FacialHairType facialHairType = FacialHairType.blank, FacialHairColor facialHairColor = FacialHairColor.auburn})
- FacialHair.fromJson(String source)
-
Decode from json
factory
-
FacialHair.fromMap(Map<
String, dynamic> map) -
Tranform from map to FacialHairType
factory
Properties
- facialHairColor ↔ FacialHairColor
-
getter/setter pair
- facialHairType ↔ FacialHairType
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- pieces → List
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{FacialHairType? facialHairType, FacialHairColor? facialHairColor}) → FacialHair -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Encode to json
-
toMap(
) → Map< String, dynamic> - Tranform from FacialHairType to map
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Properties
- random → FacialHair
-
no setter