Avatar class
Avatar Link or Larva Art
Larva Art class. Reference larva arts provided by AvatarCurl objects. Call print to get it's SVG equivalent.
final art = Avatar.lockTo('Emmanuel');
Constructors
- Avatar.at(int index)
-
Get the complete Avatar defined at
index
. This constructor was used in defining each contemporary Avatar.const - Avatar.lockOn(String key)
-
Create a random LarvaArt using
key
. The result is not so random as samekey
value will always produce the same Avatar objectconst - Avatar.read(String slug)
-
Read out art from a direct literal avatar
slug
Supported Slug format:00 00 00 00 00 00 A
.*const
Properties
- cloth → int
-
final
- env → int
-
final
- eyes → int
-
final
- hair → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- head → int
-
final
- mouth → int
-
final
- phrase → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tone → LarvaTone
-
final
Methods
-
copyWith(
{int? env, int? head, int? cloth, int? mouth, int? eyes, int? hair, LarvaTone? tone}) → Avatar -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
print(
) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- afroHair → const Avatar
-
LarvaArt
08
- asian → const Avatar
-
LarvaArt
06
- aTeam → const Avatar
-
LarvaArt
13
- bitch → const Avatar
-
LarvaArt
09
- blond → const Avatar
-
LarvaArt
12
- blonde → const Avatar
-
LarvaArt
02
- country → const Avatar
-
LarvaArt
04
- dude → const Avatar
-
LarvaArt
05
- fireHair → const Avatar
-
LarvaArt
11
- girl → const Avatar
-
LarvaArt
01
- guy → const Avatar
-
LarvaArt
03
- meta → const Avatar
-
LarvaArt
15
- older → const Avatar
-
LarvaArt
10
- punk → const Avatar
-
LarvaArt
07
- rasta → const Avatar
-
LarvaArt
14
- robot → const Avatar
-
LarvaArt
00