VirtualNodeData.fromJson constructor
VirtualNodeData.fromJson(
- Map<String, dynamic> json
)
Implementation
factory VirtualNodeData.fromJson(Map<String, dynamic> json) {
return VirtualNodeData(
meshName: json['meshName'] as String,
metadata:
ResourceMetadata.fromJson(json['metadata'] as Map<String, dynamic>),
spec: VirtualNodeSpec.fromJson(json['spec'] as Map<String, dynamic>),
status:
VirtualNodeStatus.fromJson(json['status'] as Map<String, dynamic>),
virtualNodeName: json['virtualNodeName'] as String,
);
}