BitbucketCloudConfig.fromJson constructor

BitbucketCloudConfig.fromJson(
  1. Map json_
)

Implementation

BitbucketCloudConfig.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_.containsKey('webhookSecretSecretVersion')
                ? json_['webhookSecretSecretVersion'] as core.String
                : null,
        workspace: json_.containsKey('workspace')
            ? json_['workspace'] as core.String
            : null,
      );