RepositoryEventConfig.fromJson constructor
RepositoryEventConfig.fromJson(
- Map json_
Implementation
RepositoryEventConfig.fromJson(core.Map json_)
: this(
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,
repository: json_.containsKey('repository')
? json_['repository'] as core.String
: null,
repositoryType: json_.containsKey('repositoryType')
? json_['repositoryType'] as core.String
: null,
);