IpPermission.fromJson constructor
Implementation
factory IpPermission.fromJson(Map<String, dynamic> json) {
return IpPermission(
fromPort: json['FromPort'] as int,
ipRange: json['IpRange'] as String,
protocol: (json['Protocol'] as String).toIpProtocol(),
toPort: json['ToPort'] as int,
);
}