VirtualGatewayData.fromJson constructor

VirtualGatewayData.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory VirtualGatewayData.fromJson(Map<String, dynamic> json) {
  return VirtualGatewayData(
    meshName: json['meshName'] as String,
    metadata:
        ResourceMetadata.fromJson(json['metadata'] as Map<String, dynamic>),
    spec: VirtualGatewaySpec.fromJson(json['spec'] as Map<String, dynamic>),
    status:
        VirtualGatewayStatus.fromJson(json['status'] as Map<String, dynamic>),
    virtualGatewayName: json['virtualGatewayName'] as String,
  );
}