toJson method

Map<String, dynamic> toJson()

Implementation

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