toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bitbucketServerConfig != null)
        'bitbucketServerConfig': bitbucketServerConfig!,
      if (bitbucketServerConfigResource != null)
        'bitbucketServerConfigResource': bitbucketServerConfigResource!,
      if (projectKey != null) 'projectKey': projectKey!,
      if (pullRequest != null) 'pullRequest': pullRequest!,
      if (push != null) 'push': push!,
      if (repoSlug != null) 'repoSlug': repoSlug!,
    };