GitLabEventsConfig.fromJson constructor
GitLabEventsConfig.fromJson(
- Map json_
Implementation
GitLabEventsConfig.fromJson(core.Map json_)
: this(
gitlabConfig: json_.containsKey('gitlabConfig')
? GitLabConfig.fromJson(
json_['gitlabConfig'] as core.Map<core.String, core.dynamic>)
: null,
gitlabConfigResource: json_.containsKey('gitlabConfigResource')
? json_['gitlabConfigResource'] as core.String
: null,
projectNamespace: json_.containsKey('projectNamespace')
? json_['projectNamespace'] 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,
);