toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (createTime != null) 'createTime': createTime!,
if (custom != null) 'custom': custom!,
if (deletable != null) 'deletable': deletable!,
if (eventName != null) 'eventName': eventName!,
if (name != null) 'name': name!,
};