GRPCHealthCheck.fromJson constructor
GRPCHealthCheck.fromJson(
- 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,
);