toJson method

Map<String, dynamic>? toJson()

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,
    };