MicrosoftAccount class

Microsoftアカウント情報を格納するモデルクラス

Annotations
  • @JsonSerializable()

Constructors

MicrosoftAccount.new({String? userName, required String refreshToken, String? minecraftToken, DateTime? minecraftTokenExpiry, String? xboxToken, DateTime? xboxTokenExpiry})
const
MicrosoftAccount.fromJson(Map<String, dynamic> json)
Converts a JSON map to a MicrosoftAccount.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
hasValidMinecraftToken bool
Minecraftトークンが有効かどうか
no setter
hasValidXboxToken bool
Xboxトークンが有効かどうか
no setter
minecraftToken String?
Minecraftトークン
final
minecraftTokenExpiry DateTime?
Minecraftトークン有効期限
final
refreshToken String
Microsoftリフレッシュトークン
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userName String?
ユーザー名
final
xboxToken String?
Xboxトークン
final
xboxTokenExpiry DateTime?
Xboxトークン有効期限
final

Methods

copyWith({String? userName, String? refreshToken, String? minecraftToken, DateTime? minecraftTokenExpiry, String? xboxToken, DateTime? xboxTokenExpiry}) MicrosoftAccount
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this MicrosoftAccount to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

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