MinecraftProfile class

Annotations
  • @JsonSerializable()

Constructors

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

Properties

capes List<MinecraftCape>?
final
capeUrl String?
ケープのURLを取得するゲッター
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skins List<MinecraftSkin>?
final
skinUrl String?
スキンのURLを取得するゲッター
no setter

Methods

copyWith({String? id, String? name, List<MinecraftSkin>? skins, List<MinecraftCape>? capes}) MinecraftProfile
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this MinecraftProfile to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

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