GitLabConfig.fromJson constructor

GitLabConfig.fromJson(
  1. Map json_
)

Implementation

GitLabConfig.fromJson(core.Map json_)
    : this(
        authorizerCredential: json_.containsKey('authorizerCredential')
            ? UserCredential.fromJson(json_['authorizerCredential']
                as core.Map<core.String, core.dynamic>)
            : null,
        readAuthorizerCredential:
            json_.containsKey('readAuthorizerCredential')
                ? UserCredential.fromJson(json_['readAuthorizerCredential']
                    as core.Map<core.String, core.dynamic>)
                : null,
        webhookSecretSecretVersion:
            json_['webhookSecretSecretVersion'] as core.String?,
      );