Clothes class

Implemented types

Constructors

Clothes({required ClotheType clotheType, required ClotheColor clotheColor, required GraphicType graphicType})
Clothes.fromJson(String source)
Decoded from json
factory
Clothes.fromMap(Map<String, dynamic> map)
Transform from map to Clothes
factory

Properties

clotheColor ClotheColor
getter/setter pair
clotheType ClotheType
getter/setter pair
graphicType GraphicType
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({ClotheType? clotheType, ClotheColor? clotheColor, GraphicType? graphicType}) Clothes
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Encode to json
toMap() Map<String, dynamic>
Transform from Clothes to map
toString() String
A string representation of this object.
override

Operators

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

Static Properties

random Clothes
Get random Clothes
no setter