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