Hair class

A class that holds data about the hair of an npc

Constructors

Hair({required String length, required String type, required String color})
const
Hair.fromJson(String source)
factory
Hair.fromMap(Map<String, dynamic> map)
factory

Properties

color String
final
hashCode int
The hash code for this object.
no setteroverride
length String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(covariant Hair other) bool
The equality operator.
override