GitFileSource.fromJson constructor

GitFileSource.fromJson(
  1. Map json_
)

Implementation

GitFileSource.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,
        path: json_.containsKey('path') ? json_['path'] as core.String : null,
        repoType: json_.containsKey('repoType')
            ? json_['repoType'] as core.String
            : null,
        repository: json_.containsKey('repository')
            ? json_['repository'] as core.String
            : null,
        revision: json_.containsKey('revision')
            ? json_['revision'] as core.String
            : null,
        uri: json_.containsKey('uri') ? json_['uri'] as core.String : null,
      );