RepoSource.fromJson constructor
RepoSource.fromJson(
- Map _json
Implementation
RepoSource.fromJson(core.Map _json)
: this(
branchName: _json.containsKey('branchName')
? _json['branchName'] as core.String
: null,
commitSha: _json.containsKey('commitSha')
? _json['commitSha'] as core.String
: null,
dir: _json.containsKey('dir') ? _json['dir'] as core.String : null,
invertRegex: _json.containsKey('invertRegex')
? _json['invertRegex'] as core.bool
: null,
projectId: _json.containsKey('projectId')
? _json['projectId'] as core.String
: null,
repoName: _json.containsKey('repoName')
? _json['repoName'] as core.String
: null,
tagName: _json.containsKey('tagName')
? _json['tagName'] as core.String
: null,
);