HostsEntry.fromJson constructor
HostsEntry.fromJson(
- Map json_
Implementation
HostsEntry.fromJson(core.Map json_)
: this(
hostNames: json_.containsKey('hostNames')
? (json_['hostNames'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
ip: json_.containsKey('ip') ? json_['ip'] as core.String : null,
);