AwsCloudMapServiceDiscovery.fromJson constructor
Implementation
factory AwsCloudMapServiceDiscovery.fromJson(Map<String, dynamic> json) {
return AwsCloudMapServiceDiscovery(
namespaceName: json['namespaceName'] as String,
serviceName: json['serviceName'] as String,
attributes: (json['attributes'] as List?)
?.whereNotNull()
.map((e) =>
AwsCloudMapInstanceAttribute.fromJson(e as Map<String, dynamic>))
.toList(),
);
}