toJson method
Implementation
Map<String, dynamic>? toJson() => {
'id': id,
'displayName': displayName,
'givenName': givenName,
'surname': surname,
'userPrincipalName': userPrincipalName,
'mail': mail,
'businessPhones': businessPhones,
'jobTitle': jobTitle,
'officeLocation': officeLocation,
'preferredLanguage': preferredLanguage,
'accessToken': accessToken,
'expiresOn': expiresOn,
};