VirtualServiceProvider.fromJson constructor

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

Implementation

factory VirtualServiceProvider.fromJson(Map<String, dynamic> json) {
  return VirtualServiceProvider(
    virtualNode: json['virtualNode'] != null
        ? VirtualNodeServiceProvider.fromJson(
            json['virtualNode'] as Map<String, dynamic>)
        : null,
    virtualRouter: json['virtualRouter'] != null
        ? VirtualRouterServiceProvider.fromJson(
            json['virtualRouter'] as Map<String, dynamic>)
        : null,
  );
}