toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (branchName != null) 'branchName': branchName!,
      if (commitSha != null) 'commitSha': commitSha!,
      if (dir != null) 'dir': dir!,
      if (projectId != null) 'projectId': projectId!,
      if (repoName != null) 'repoName': repoName!,
      if (tagName != null) 'tagName': tagName!,
    };