toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotations != null) 'annotations': annotations!,
      if (bitbucketCloudConfig != null)
        'bitbucketCloudConfig': bitbucketCloudConfig!,
      if (bitbucketDataCenterConfig != null)
        'bitbucketDataCenterConfig': bitbucketDataCenterConfig!,
      if (createTime != null) 'createTime': createTime!,
      if (disabled != null) 'disabled': disabled!,
      if (etag != null) 'etag': etag!,
      if (githubConfig != null) 'githubConfig': githubConfig!,
      if (githubEnterpriseConfig != null)
        'githubEnterpriseConfig': githubEnterpriseConfig!,
      if (gitlabConfig != null) 'gitlabConfig': gitlabConfig!,
      if (installationState != null) 'installationState': installationState!,
      if (name != null) 'name': name!,
      if (reconciling != null) 'reconciling': reconciling!,
      if (updateTime != null) 'updateTime': updateTime!,
    };