GitHubEventsConfig.fromJson constructor
GitHubEventsConfig.fromJson(
- Map json_
Implementation
GitHubEventsConfig.fromJson(core.Map json_)
: this(
enterpriseConfigResourceName:
json_.containsKey('enterpriseConfigResourceName')
? json_['enterpriseConfigResourceName'] as core.String
: null,
installationId: json_.containsKey('installationId')
? json_['installationId'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
owner:
json_.containsKey('owner') ? json_['owner'] 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,
);