HTTP2HealthCheck.fromJson constructor

HTTP2HealthCheck.fromJson(
  1. Map json_
)

Implementation

HTTP2HealthCheck.fromJson(core.Map json_)
    : this(
        host: json_.containsKey('host') ? json_['host'] as core.String : null,
        port: json_.containsKey('port') ? json_['port'] as core.int : null,
        portName: json_.containsKey('portName')
            ? json_['portName'] as core.String
            : null,
        portSpecification: json_.containsKey('portSpecification')
            ? json_['portSpecification'] as core.String
            : null,
        proxyHeader: json_.containsKey('proxyHeader')
            ? json_['proxyHeader'] as core.String
            : null,
        requestPath: json_.containsKey('requestPath')
            ? json_['requestPath'] as core.String
            : null,
        response: json_.containsKey('response')
            ? json_['response'] as core.String
            : null,
      );