TcpCheck.fromJson constructor
TcpCheck.fromJson(
- Map json_
Implementation
TcpCheck.fromJson(core.Map json_)
: this(
pingConfig: json_.containsKey('pingConfig')
? PingConfig.fromJson(
json_['pingConfig'] as core.Map<core.String, core.dynamic>)
: null,
port: json_.containsKey('port') ? json_['port'] as core.int : null,
);