AwsEc2InstanceViolation.fromJson constructor
Implementation
factory AwsEc2InstanceViolation.fromJson(Map<String, dynamic> json) {
return AwsEc2InstanceViolation(
awsEc2NetworkInterfaceViolations:
(json['AwsEc2NetworkInterfaceViolations'] as List?)
?.whereNotNull()
.map((e) => AwsEc2NetworkInterfaceViolation.fromJson(
e as Map<String, dynamic>))
.toList(),
violationTarget: json['ViolationTarget'] as String?,
);
}