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,
      );