toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (action != null) 'action': action!,
      if (appInstallationUrl != null)
        'appInstallationUrl': appInstallationUrl!,
      if (appScheme != null) 'appScheme': appScheme!,
      if (context != null) 'context': context!,
      if (dateOfBirth != null) 'dateOfBirth': dateOfBirth!,
      if (displayName != null) 'displayName': displayName!,
      if (email != null) 'email': email!,
      if (emailRecycled != null) 'emailRecycled': emailRecycled!,
      if (emailVerified != null) 'emailVerified': emailVerified!,
      if (errorMessage != null) 'errorMessage': errorMessage!,
      if (expiresIn != null) 'expiresIn': expiresIn!,
      if (federatedId != null) 'federatedId': federatedId!,
      if (firstName != null) 'firstName': firstName!,
      if (fullName != null) 'fullName': fullName!,
      if (idToken != null) 'idToken': idToken!,
      if (inputEmail != null) 'inputEmail': inputEmail!,
      if (isNewUser != null) 'isNewUser': isNewUser!,
      if (kind != null) 'kind': kind!,
      if (language != null) 'language': language!,
      if (lastName != null) 'lastName': lastName!,
      if (localId != null) 'localId': localId!,
      if (needConfirmation != null) 'needConfirmation': needConfirmation!,
      if (needEmail != null) 'needEmail': needEmail!,
      if (nickName != null) 'nickName': nickName!,
      if (oauthAccessToken != null) 'oauthAccessToken': oauthAccessToken!,
      if (oauthAuthorizationCode != null)
        'oauthAuthorizationCode': oauthAuthorizationCode!,
      if (oauthExpireIn != null) 'oauthExpireIn': oauthExpireIn!,
      if (oauthIdToken != null) 'oauthIdToken': oauthIdToken!,
      if (oauthRequestToken != null) 'oauthRequestToken': oauthRequestToken!,
      if (oauthScope != null) 'oauthScope': oauthScope!,
      if (oauthTokenSecret != null) 'oauthTokenSecret': oauthTokenSecret!,
      if (originalEmail != null) 'originalEmail': originalEmail!,
      if (photoUrl != null) 'photoUrl': photoUrl!,
      if (providerId != null) 'providerId': providerId!,
      if (rawUserInfo != null) 'rawUserInfo': rawUserInfo!,
      if (refreshToken != null) 'refreshToken': refreshToken!,
      if (screenName != null) 'screenName': screenName!,
      if (timeZone != null) 'timeZone': timeZone!,
      if (verifiedProvider != null) 'verifiedProvider': verifiedProvider!,
    };