RepositoryEventConfig.fromJson constructor

RepositoryEventConfig.fromJson(
  1. 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_['repository'] as core.String?,
      repositoryType: json_['repositoryType'] as core.String?,
    );