GitLabSecrets.fromJson constructor

GitLabSecrets.fromJson(
  1. Map json_
)

Implementation

GitLabSecrets.fromJson(core.Map json_)
    : this(
        apiAccessTokenVersion: json_.containsKey('apiAccessTokenVersion')
            ? json_['apiAccessTokenVersion'] as core.String
            : null,
        apiKeyVersion: json_.containsKey('apiKeyVersion')
            ? json_['apiKeyVersion'] as core.String
            : null,
        readAccessTokenVersion: json_.containsKey('readAccessTokenVersion')
            ? json_['readAccessTokenVersion'] as core.String
            : null,
        webhookSecretVersion: json_.containsKey('webhookSecretVersion')
            ? json_['webhookSecretVersion'] as core.String
            : null,
      );