GRPCHealthCheck.fromJson constructor

GRPCHealthCheck.fromJson(
  1. Map json_
)

Implementation

GRPCHealthCheck.fromJson(core.Map json_)
    : this(
        grpcServiceName: json_.containsKey('grpcServiceName')
            ? json_['grpcServiceName'] 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,
      );