GitHubConfig.fromJson constructor

GitHubConfig.fromJson(
  1. Map json_
)

Implementation

GitHubConfig.fromJson(core.Map json_)
    : this(
        appInstallationId: json_.containsKey('appInstallationId')
            ? json_['appInstallationId'] as core.String
            : null,
        authorizerCredential: json_.containsKey('authorizerCredential')
            ? OAuthCredential.fromJson(json_['authorizerCredential']
                as core.Map<core.String, core.dynamic>)
            : null,
        githubApp: json_.containsKey('githubApp')
            ? json_['githubApp'] as core.String
            : null,
        installationUri: json_.containsKey('installationUri')
            ? json_['installationUri'] as core.String
            : null,
      );