MsalUser.fromJson constructor
Implementation
factory MsalUser.fromJson(Map<String, dynamic> json) {
return MsalUser(
username: json['preferred_username'] ?? '',
displayName: json['name'] ?? '',
accessToken: json['access_token'] ?? '',
tokenCreatedAt: json['iat'] ?? '',
tokenExpiresOn: json['exp'] ?? '',
idToken: json['id_token'] ?? '',
);
}