IdentitytoolkitRelyingpartySetAccountInfoRequest.fromJson constructor

IdentitytoolkitRelyingpartySetAccountInfoRequest.fromJson(
  1. Map json_
)

Implementation

IdentitytoolkitRelyingpartySetAccountInfoRequest.fromJson(core.Map json_)
    : this(
        captchaChallenge: json_.containsKey('captchaChallenge')
            ? json_['captchaChallenge'] as core.String
            : null,
        captchaResponse: json_.containsKey('captchaResponse')
            ? json_['captchaResponse'] as core.String
            : null,
        createdAt: json_.containsKey('createdAt')
            ? json_['createdAt'] as core.String
            : null,
        customAttributes: json_.containsKey('customAttributes')
            ? json_['customAttributes'] as core.String
            : null,
        delegatedProjectNumber: json_.containsKey('delegatedProjectNumber')
            ? json_['delegatedProjectNumber'] as core.String
            : null,
        deleteAttribute: json_.containsKey('deleteAttribute')
            ? (json_['deleteAttribute'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        deleteProvider: json_.containsKey('deleteProvider')
            ? (json_['deleteProvider'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        disableUser: json_.containsKey('disableUser')
            ? json_['disableUser'] as core.bool
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        email:
            json_.containsKey('email') ? json_['email'] as core.String : null,
        emailVerified: json_.containsKey('emailVerified')
            ? json_['emailVerified'] as core.bool
            : null,
        idToken: json_.containsKey('idToken')
            ? json_['idToken'] as core.String
            : null,
        instanceId: json_.containsKey('instanceId')
            ? json_['instanceId'] as core.String
            : null,
        lastLoginAt: json_.containsKey('lastLoginAt')
            ? json_['lastLoginAt'] as core.String
            : null,
        localId: json_.containsKey('localId')
            ? json_['localId'] as core.String
            : null,
        oobCode: json_.containsKey('oobCode')
            ? json_['oobCode'] as core.String
            : null,
        password: json_.containsKey('password')
            ? json_['password'] as core.String
            : null,
        phoneNumber: json_.containsKey('phoneNumber')
            ? json_['phoneNumber'] as core.String
            : null,
        photoUrl: json_.containsKey('photoUrl')
            ? json_['photoUrl'] as core.String
            : null,
        provider: json_.containsKey('provider')
            ? (json_['provider'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        returnSecureToken: json_.containsKey('returnSecureToken')
            ? json_['returnSecureToken'] as core.bool
            : null,
        upgradeToFederatedLogin: json_.containsKey('upgradeToFederatedLogin')
            ? json_['upgradeToFederatedLogin'] as core.bool
            : null,
        validSince: json_.containsKey('validSince')
            ? json_['validSince'] as core.String
            : null,
      );