VirtualServiceBackend.fromJson constructor

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

Implementation

factory VirtualServiceBackend.fromJson(Map<String, dynamic> json) {
  return VirtualServiceBackend(
    virtualServiceName: json['virtualServiceName'] as String,
    clientPolicy: json['clientPolicy'] != null
        ? ClientPolicy.fromJson(json['clientPolicy'] as Map<String, dynamic>)
        : null,
  );
}