NetworkPathComponentDetails.fromJson constructor
Implementation
factory NetworkPathComponentDetails.fromJson(Map<String, dynamic> json) {
return NetworkPathComponentDetails(
address: (json['Address'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
portRanges: (json['PortRanges'] as List?)
?.whereNotNull()
.map((e) => PortRange.fromJson(e as Map<String, dynamic>))
.toList(),
);
}