toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (category != null) 'category': category!,
if (comment != null) 'comment': comment!,
if (locator != null) 'locator': locator!,
if (type != null) 'type': type!,
};