Protection.fromJson constructor
Implementation
factory Protection.fromJson(Map<String, dynamic> json) {
return Protection(
healthCheckIds: (json['HealthCheckIds'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
id: json['Id'] as String?,
name: json['Name'] as String?,
resourceArn: json['ResourceArn'] as String?,
);
}