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 (invertRegex != null) 'invertRegex': invertRegex!,
      if (projectId != null) 'projectId': projectId!,
      if (repoName != null) 'repoName': repoName!,
      if (tagName != null) 'tagName': tagName!,
    };