toJson method
Implementation
Map<String, dynamic> toJson() {
final availabilityZone = this.availabilityZone;
final securityGroupIdList = this.securityGroupIdList;
final subnetId = this.subnetId;
return {
if (availabilityZone != null) 'AvailabilityZone': availabilityZone,
if (securityGroupIdList != null)
'SecurityGroupIdList': securityGroupIdList,
if (subnetId != null) 'SubnetId': subnetId,
};
}