toJson method

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

Implementation

@override
Map<String, dynamic> toJson() {
  switch ($$typename) {
    case r'EventChatTotalItemsCountUpdated':
      return (this
              as ChatEventsVersionedMixin$Events$EventChatTotalItemsCountUpdated)
          .toJson();
    case r'EventChatCallMemberRedialed':
      return (this
              as ChatEventsVersionedMixin$Events$EventChatCallMemberRedialed)
          .toJson();
    case r'EventChatCleared':
      return (this as ChatEventsVersionedMixin$Events$EventChatCleared)
          .toJson();
    case r'EventChatItemHidden':
      return (this as ChatEventsVersionedMixin$Events$EventChatItemHidden)
          .toJson();
    case r'EventChatMuted':
      return (this as ChatEventsVersionedMixin$Events$EventChatMuted)
          .toJson();
    case r'EventChatDirectLinkUsageCountUpdated':
      return (this
              as ChatEventsVersionedMixin$Events$EventChatDirectLinkUsageCountUpdated)
          .toJson();
    case r'EventChatTypingStarted':
      return (this as ChatEventsVersionedMixin$Events$EventChatTypingStarted)
          .toJson();
    case r'EventChatTypingStopped':
      return (this as ChatEventsVersionedMixin$Events$EventChatTypingStopped)
          .toJson();
    case r'EventChatHidden':
      return (this as ChatEventsVersionedMixin$Events$EventChatHidden)
          .toJson();
    case r'EventChatDirectLinkUpdated':
      return (this
              as ChatEventsVersionedMixin$Events$EventChatDirectLinkUpdated)
          .toJson();
    case r'EventChatItemDeleted':
      return (this as ChatEventsVersionedMixin$Events$EventChatItemDeleted)
          .toJson();
    case r'EventChatItemEdited':
      return (this as ChatEventsVersionedMixin$Events$EventChatItemEdited)
          .toJson();
    case r'EventChatCallStarted':
      return (this as ChatEventsVersionedMixin$Events$EventChatCallStarted)
          .toJson();
    case r'EventChatUnreadItemsCountUpdated':
      return (this
              as ChatEventsVersionedMixin$Events$EventChatUnreadItemsCountUpdated)
          .toJson();
    case r'EventChatCallFinished':
      return (this as ChatEventsVersionedMixin$Events$EventChatCallFinished)
          .toJson();
    case r'EventChatCallMemberLeft':
      return (this as ChatEventsVersionedMixin$Events$EventChatCallMemberLeft)
          .toJson();
    case r'EventChatCallMemberJoined':
      return (this
              as ChatEventsVersionedMixin$Events$EventChatCallMemberJoined)
          .toJson();
    case r'EventChatLastItemUpdated':
      return (this
              as ChatEventsVersionedMixin$Events$EventChatLastItemUpdated)
          .toJson();
    case r'EventChatDelivered':
      return (this as ChatEventsVersionedMixin$Events$EventChatDelivered)
          .toJson();
    case r'EventChatCallMoved':
      return (this as ChatEventsVersionedMixin$Events$EventChatCallMoved)
          .toJson();
    case r'EventChatRead':
      return (this as ChatEventsVersionedMixin$Events$EventChatRead).toJson();
    case r'EventChatItemPosted':
      return (this as ChatEventsVersionedMixin$Events$EventChatItemPosted)
          .toJson();
    case r'EventChatCallDeclined':
      return (this as ChatEventsVersionedMixin$Events$EventChatCallDeclined)
          .toJson();
    case r'EventChatFavorited':
      return (this as ChatEventsVersionedMixin$Events$EventChatFavorited)
          .toJson();
    case r'EventChatUnfavorited':
      return (this as ChatEventsVersionedMixin$Events$EventChatUnfavorited)
          .toJson();
    case r'EventChatCallConversationStarted':
      return (this
              as ChatEventsVersionedMixin$Events$EventChatCallConversationStarted)
          .toJson();
    case r'EventChatCallAnswerTimeoutPassed':
      return (this
              as ChatEventsVersionedMixin$Events$EventChatCallAnswerTimeoutPassed)
          .toJson();
    default:
  }
  return _$ChatEventsVersionedMixin$EventsToJson(this);
}