Profile class

A Minecraft user including their skin/cape.

Constructors

Profile.fromJson(Map<String, dynamic> json)
Parses profile JSON returned from authenticated profile queries.
Profile.fromLegacyJson(Map<String, dynamic> json)
Parses the profile from a legacy JSON response. This is commonly used for unauthenticated profile queries.

Properties

getCapes List<ProfileTexture>
no setter
getSkins List<ProfileTexture>
no setter
hashCode int
The hash code for this object.
no setterinherited
name String
This player's name.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature String
This is a yggdrasil-server-only feature. It is basically useless towards a player or dev.
no setter
uuid String
The UUID of this player.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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