ServiceDiscovery.fromJson constructor
Implementation
factory ServiceDiscovery.fromJson(Map<String, dynamic> json) {
return ServiceDiscovery(
awsCloudMap: json['awsCloudMap'] != null
? AwsCloudMapServiceDiscovery.fromJson(
json['awsCloudMap'] as Map<String, dynamic>)
: null,
dns: json['dns'] != null
? DnsServiceDiscovery.fromJson(json['dns'] as Map<String, dynamic>)
: null,
);
}