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 (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 (password != null) 'password': password!,
      if (phoneNumber != null) 'phoneNumber': phoneNumber!,
      if (photoUrl != null) 'photoUrl': photoUrl!,
      if (tenantId != null) 'tenantId': tenantId!,
      if (tenantProjectNumber != null)
        'tenantProjectNumber': tenantProjectNumber!,
    };