toJson method
Implementation
Map<String, dynamic> toJson() {
final codeContentType = this.codeContentType;
final codeContent = this.codeContent;
return {
'CodeContentType': codeContentType.toValue(),
if (codeContent != null) 'CodeContent': codeContent,
};
}