toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['elem_type'] = CElemType.ElemCustom;
data['custom_elem_data'] = this.data;
data['custom_elem_desc'] = desc;
data['custom_elem_ext'] = extension;
if (nextElem != null) {
data['nextElem'] = nextElem;
}
return data;
}