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