GitRepoSource.fromJson constructor

GitRepoSource.fromJson(
  1. Map json_
)

Implementation

GitRepoSource.fromJson(core.Map json_)
    : this(
        bitbucketServerConfig: json_.containsKey('bitbucketServerConfig')
            ? json_['bitbucketServerConfig'] as core.String
            : null,
        githubEnterpriseConfig: json_.containsKey('githubEnterpriseConfig')
            ? json_['githubEnterpriseConfig'] as core.String
            : null,
        ref: json_.containsKey('ref') ? json_['ref'] as core.String : null,
        repoType: json_.containsKey('repoType')
            ? json_['repoType'] as core.String
            : null,
        repository: json_.containsKey('repository')
            ? json_['repository'] as core.String
            : null,
        uri: json_.containsKey('uri') ? json_['uri'] as core.String : null,
      );