toJson method
Implementation
Map<String, dynamic> toJson() {
final subnetIds = this.subnetIds;
final securityGroupIds = this.securityGroupIds;
return {
'subnetIds': subnetIds,
if (securityGroupIds != null) 'securityGroupIds': securityGroupIds,
};
}