MinecraftTokenResponse class
- Annotations
-
- @JsonSerializable()
Constructors
-
MinecraftTokenResponse.new({required String username, required List<
String> roles, required String accessToken, required String tokenType, required int expiresIn}) -
const
-
MinecraftTokenResponse.fromJson(Map<
String, dynamic> json) -
Converts a JSON map to a MinecraftTokenResponse.
factory
Properties
Methods
-
copyWith(
{String? username, List< String> ? roles, String? accessToken, String? tokenType, int? expiresIn}) → MinecraftTokenResponse -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this MinecraftTokenResponse to a JSON map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited