BitbucketServerTriggerConfig.fromJson constructor
BitbucketServerTriggerConfig.fromJson(
- Map json_
Implementation
BitbucketServerTriggerConfig.fromJson(core.Map json_)
: this(
bitbucketServerConfig: json_.containsKey('bitbucketServerConfig')
? BitbucketServerConfig.fromJson(json_['bitbucketServerConfig']
as core.Map<core.String, core.dynamic>)
: null,
bitbucketServerConfigResource:
json_.containsKey('bitbucketServerConfigResource')
? json_['bitbucketServerConfigResource'] as core.String
: null,
projectKey: json_.containsKey('projectKey')
? json_['projectKey'] as core.String
: null,
pullRequest: json_.containsKey('pullRequest')
? PullRequestFilter.fromJson(
json_['pullRequest'] as core.Map<core.String, core.dynamic>)
: null,
push: json_.containsKey('push')
? PushFilter.fromJson(
json_['push'] as core.Map<core.String, core.dynamic>)
: null,
repoSlug: json_.containsKey('repoSlug')
? json_['repoSlug'] as core.String
: null,
);