XboxAccountProfile class
- Annotations
-
- @JsonSerializable()
Constructors
- XboxAccountProfile.new({required String token, required String userHash, required String xuid, required DateTime expiresAt})
-
const
-
XboxAccountProfile.fromJson(Map<
String, dynamic> json) -
Converts a JSON map to a XboxAccountProfile.
factory
Properties
- expiresAt → DateTime
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isTokenExpired → bool
-
Checks if the token is expired
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- token → String
-
final
- userHash → String
-
final
- xuid → String
-
final
Methods
-
copyWith(
{String? token, String? userHash, String? xuid, DateTime? expiresAt}) → XboxAccountProfile -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this XboxAccountProfile to a JSON map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited