GoogleCloudIdentitytoolkitV1GetAccountInfoRequest.fromJson constructor

GoogleCloudIdentitytoolkitV1GetAccountInfoRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIdentitytoolkitV1GetAccountInfoRequest.fromJson(core.Map json_)
    : this(
        delegatedProjectNumber: json_.containsKey('delegatedProjectNumber')
            ? json_['delegatedProjectNumber'] as core.String
            : null,
        email: json_.containsKey('email')
            ? (json_['email'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        federatedUserId: json_.containsKey('federatedUserId')
            ? (json_['federatedUserId'] as core.List)
                .map((value) =>
                    GoogleCloudIdentitytoolkitV1FederatedUserIdentifier
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        idToken: json_.containsKey('idToken')
            ? json_['idToken'] as core.String
            : null,
        initialEmail: json_.containsKey('initialEmail')
            ? (json_['initialEmail'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        localId: json_.containsKey('localId')
            ? (json_['localId'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        phoneNumber: json_.containsKey('phoneNumber')
            ? (json_['phoneNumber'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        targetProjectId: json_.containsKey('targetProjectId')
            ? json_['targetProjectId'] as core.String
            : null,
        tenantId: json_.containsKey('tenantId')
            ? json_['tenantId'] as core.String
            : null,
      );