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 (delegatedProjectNumber != null)
        'delegatedProjectNumber': delegatedProjectNumber!,
      if (email != null) 'email': email!,
      if (idToken != null) 'idToken': idToken!,
      if (instanceId != null) 'instanceId': instanceId!,
      if (password != null) 'password': password!,
      if (pendingIdToken != null) 'pendingIdToken': pendingIdToken!,
      if (recaptchaVersion != null) 'recaptchaVersion': recaptchaVersion!,
      if (returnSecureToken != null) 'returnSecureToken': returnSecureToken!,
      if (tenantId != null) 'tenantId': tenantId!,
    };