toJson method

Map<String, dynamic> toJson()

Implementation

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