GitHubConfig.fromJson constructor

GitHubConfig.fromJson(
  1. Map json_
)

Implementation

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