VirtualServiceSpec.fromJson constructor

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

Implementation

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