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,
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,
);