NetworkPathComponent.fromJson constructor
NetworkPathComponent.fromJson(
- Map<String, dynamic> json
)
Implementation
factory NetworkPathComponent.fromJson(Map<String, dynamic> json) {
return NetworkPathComponent(
componentId: json['ComponentId'] as String?,
componentType: json['ComponentType'] as String?,
egress: json['Egress'] != null
? NetworkHeader.fromJson(json['Egress'] as Map<String, dynamic>)
: null,
ingress: json['Ingress'] != null
? NetworkHeader.fromJson(json['Ingress'] as Map<String, dynamic>)
: null,
);
}