toJson method
Implementation
Map<String, dynamic> toJson() {
final attachment = this.attachment;
final networkInterfaceId = this.networkInterfaceId;
final securityGroups = this.securityGroups;
final sourceDestCheck = this.sourceDestCheck;
return {
if (attachment != null) 'Attachment': attachment,
if (networkInterfaceId != null) 'NetworkInterfaceId': networkInterfaceId,
if (securityGroups != null) 'SecurityGroups': securityGroups,
if (sourceDestCheck != null) 'SourceDestCheck': sourceDestCheck,
};
}