RepoSource.fromJson constructor

RepoSource.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory RepoSource.fromJson(Map<String, dynamic> json) {
  return RepoSource(
    branchName: json['branchName'],
    tagName: json['tagName'],
    commitSha: json['commitSha'],
    projectId: json['projectId'] ?? '',
    repoName: json['repoName'] ?? '',
    dir: json['dir'] ?? '',
    invertRegex: json['invertRegex'] ?? false,
  );
}