SecurityDetails.fromJson constructor
Implementation
factory SecurityDetails.fromJson(Map<String, dynamic> json) {
return SecurityDetails(
roleArn: json['roleArn'] as String,
securityGroupIds: (json['securityGroupIds'] as List)
.whereNotNull()
.map((e) => e as String)
.toList(),
subnetIds: (json['subnetIds'] as List)
.whereNotNull()
.map((e) => e as String)
.toList(),
);
}