GoogleCloudIdentitytoolkitV1CreateSessionCookieRequest.fromJson constructor

GoogleCloudIdentitytoolkitV1CreateSessionCookieRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIdentitytoolkitV1CreateSessionCookieRequest.fromJson(
    core.Map json_)
    : this(
        idToken: json_.containsKey('idToken')
            ? json_['idToken'] as core.String
            : null,
        tenantId: json_.containsKey('tenantId')
            ? json_['tenantId'] as core.String
            : null,
        validDuration: json_.containsKey('validDuration')
            ? json_['validDuration'] as core.String
            : null,
      );