MicrosoftTokenResponse class

Annotations
  • @JsonSerializable()

Constructors

MicrosoftTokenResponse.new({required String tokenType, required int expiresIn, required String scope, required String accessToken, required String refreshToken, String? userId})
const
MicrosoftTokenResponse.fromJson(Map<String, dynamic> json)
Converts a JSON map to a MicrosoftTokenResponse.
factory

Properties

accessToken String
final
expiresIn int
final
hashCode int
The hash code for this object.
no setterinherited
refreshToken String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope String
final
tokenType String
final
userId String?
final

Methods

copyWith({String? tokenType, int? expiresIn, String? scope, String? accessToken, String? refreshToken, String? userId}) MicrosoftTokenResponse
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this MicrosoftTokenResponse to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

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