toJson method

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

Implementation

@override
Map<String, dynamic> toJson() {
  switch ($$typename) {
    case r'EventChatCallMemberRedialed':
      return (this
              as ChatCallEventsVersionedMixin$Events$EventChatCallMemberRedialed)
          .toJson();
    case r'EventChatCallMemberUndialed':
      return (this
              as ChatCallEventsVersionedMixin$Events$EventChatCallMemberUndialed)
          .toJson();
    case r'EventChatCallAnswerTimeoutPassed':
      return (this
              as ChatCallEventsVersionedMixin$Events$EventChatCallAnswerTimeoutPassed)
          .toJson();
    case r'EventChatCallFinished':
      return (this
              as ChatCallEventsVersionedMixin$Events$EventChatCallFinished)
          .toJson();
    case r'EventChatCallRoomReady':
      return (this
              as ChatCallEventsVersionedMixin$Events$EventChatCallRoomReady)
          .toJson();
    case r'EventChatCallMemberLeft':
      return (this
              as ChatCallEventsVersionedMixin$Events$EventChatCallMemberLeft)
          .toJson();
    case r'EventChatCallMemberJoined':
      return (this
              as ChatCallEventsVersionedMixin$Events$EventChatCallMemberJoined)
          .toJson();
    case r'EventChatCallHandLowered':
      return (this
              as ChatCallEventsVersionedMixin$Events$EventChatCallHandLowered)
          .toJson();
    case r'EventChatCallMoved':
      return (this as ChatCallEventsVersionedMixin$Events$EventChatCallMoved)
          .toJson();
    case r'EventChatCallHandRaised':
      return (this
              as ChatCallEventsVersionedMixin$Events$EventChatCallHandRaised)
          .toJson();
    case r'EventChatCallDeclined':
      return (this
              as ChatCallEventsVersionedMixin$Events$EventChatCallDeclined)
          .toJson();
    case r'EventChatCallConversationStarted':
      return (this
              as ChatCallEventsVersionedMixin$Events$EventChatCallConversationStarted)
          .toJson();
    default:
  }
  return _$ChatCallEventsVersionedMixin$EventsToJson(this);
}