toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bitbucketServerConfig != null)
        'bitbucketServerConfig': bitbucketServerConfig!,
      if (githubEnterpriseConfig != null)
        'githubEnterpriseConfig': githubEnterpriseConfig!,
      if (path != null) 'path': path!,
      if (repoType != null) 'repoType': repoType!,
      if (repository != null) 'repository': repository!,
      if (revision != null) 'revision': revision!,
      if (uri != null) 'uri': uri!,
    };