toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (captchaChallenge != null) 'captchaChallenge': captchaChallenge!,
      if (captchaResponse != null) 'captchaResponse': captchaResponse!,
      if (clientType != null) 'clientType': clientType!,
      if (disabled != null) 'disabled': disabled!,
      if (displayName != null) 'displayName': displayName!,
      if (email != null) 'email': email!,
      if (emailVerified != null) 'emailVerified': emailVerified!,
      if (idToken != null) 'idToken': idToken!,
      if (instanceId != null) 'instanceId': instanceId!,
      if (localId != null) 'localId': localId!,
      if (mfaInfo != null) 'mfaInfo': mfaInfo!,
      if (password != null) 'password': password!,
      if (phoneNumber != null) 'phoneNumber': phoneNumber!,
      if (photoUrl != null) 'photoUrl': photoUrl!,
      if (recaptchaVersion != null) 'recaptchaVersion': recaptchaVersion!,
      if (targetProjectId != null) 'targetProjectId': targetProjectId!,
      if (tenantId != null) 'tenantId': tenantId!,
    };