toJson method
override
Implementation
@override
Map<String, dynamic> toJson() {
switch ($$typename) {
case r'ChatInfo':
return (this
as ChatEventsVersionedMixin$Events$EventChatLastItemUpdated$LastItem$Node$ChatInfo)
.toJson();
case r'ChatCall':
return (this
as ChatEventsVersionedMixin$Events$EventChatLastItemUpdated$LastItem$Node$ChatCall)
.toJson();
case r'ChatMessage':
return (this
as ChatEventsVersionedMixin$Events$EventChatLastItemUpdated$LastItem$Node$ChatMessage)
.toJson();
case r'ChatForward':
return (this
as ChatEventsVersionedMixin$Events$EventChatLastItemUpdated$LastItem$Node$ChatForward)
.toJson();
default:
}
return _$ChatEventsVersionedMixin$Events$EventChatLastItemUpdated$LastItem$NodeToJson(
this);
}