GoogleCloudIdentitytoolkitV1GetAccountInfoRequest.fromJson constructor

GoogleCloudIdentitytoolkitV1GetAccountInfoRequest.fromJson(
  1. Map json_
)

Implementation

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