toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (displayName != null) 'displayName': displayName!,
      if (email != null) 'email': email!,
      if (expiresIn != null) 'expiresIn': expiresIn!,
      if (idToken != null) 'idToken': idToken!,
      if (kind != null) 'kind': kind!,
      if (localId != null) 'localId': localId!,
      if (mfaInfo != null) 'mfaInfo': mfaInfo!,
      if (mfaPendingCredential != null)
        'mfaPendingCredential': mfaPendingCredential!,
      if (oauthAccessToken != null) 'oauthAccessToken': oauthAccessToken!,
      if (oauthAuthorizationCode != null)
        'oauthAuthorizationCode': oauthAuthorizationCode!,
      if (oauthExpireIn != null) 'oauthExpireIn': oauthExpireIn!,
      if (profilePicture != null) 'profilePicture': profilePicture!,
      if (refreshToken != null) 'refreshToken': refreshToken!,
      if (registered != null) 'registered': registered!,
    };