toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() {
  switch ($$typename) {
    case r'ImageAttachment':
      return (this
              as ChatEventsVersionedMixin$Events$EventChatItemEdited$Attachments$Changed$ImageAttachment)
          .toJson();
    case r'FileAttachment':
      return (this
              as ChatEventsVersionedMixin$Events$EventChatItemEdited$Attachments$Changed$FileAttachment)
          .toJson();
    default:
  }
  return _$ChatEventsVersionedMixin$Events$EventChatItemEdited$Attachments$ChangedToJson(
      this);
}