MinecraftAccountProfile class

Annotations
  • @JsonSerializable()

Constructors

MinecraftAccountProfile.new({required String id, required String name, required List<MinecraftSkin> skins, required List<MinecraftSkin> capes, required Map<String, dynamic> profileActions})
const
MinecraftAccountProfile.fromJson(Map<String, dynamic> json)
Converts a JSON map to a MinecraftAccountProfile.
factory

Properties

capes List<MinecraftSkin>
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
name String
final
profileActions Map<String, dynamic>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skins List<MinecraftSkin>
final

Methods

copyWith({String? username, String? uuid, String? accessToken, DateTime? expiresAt}) MinecraftAccountProfile
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this MinecraftAccountProfile to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

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