core.Map<core.String, core.dynamic> toJson() => { if (annotation != null) 'annotation': annotation!, if (messageEvent != null) 'messageEvent': messageEvent!, if (time != null) 'time': time!, };