MicrosoftAccountProfile class

Annotations
  • @JsonSerializable()

Constructors

MicrosoftAccountProfile.new({required String accessToken, required String refreshToken, required DateTime expiresAt, required String email, required String username, required String id})
const
MicrosoftAccountProfile.fromJson(Map<String, dynamic> json)
Converts a JSON map to a MicrosoftAccountProfile.
factory

Properties

accessToken String
final
email String
final
expiresAt DateTime
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
isTokenExpired bool
Checks if the token is expired
no setter
refreshToken String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
username String
final

Methods

copyWith({String? accessToken, String? refreshToken, DateTime? expiresAt, String? email, String? username, String? id}) MicrosoftAccountProfile
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this MicrosoftAccountProfile to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

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