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
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