GitHubEnterpriseConfig.fromJson constructor

GitHubEnterpriseConfig.fromJson(
  1. Map json_
)

Implementation

GitHubEnterpriseConfig.fromJson(core.Map json_)
    : this(
        appId:
            json_.containsKey('appId') ? json_['appId'] as core.String : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        hostUrl: json_.containsKey('hostUrl')
            ? json_['hostUrl'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        peeredNetwork: json_.containsKey('peeredNetwork')
            ? json_['peeredNetwork'] as core.String
            : null,
        secrets: json_.containsKey('secrets')
            ? GitHubEnterpriseSecrets.fromJson(
                json_['secrets'] as core.Map<core.String, core.dynamic>)
            : null,
        sslCa:
            json_.containsKey('sslCa') ? json_['sslCa'] as core.String : null,
        webhookKey: json_.containsKey('webhookKey')
            ? json_['webhookKey'] as core.String
            : null,
      );