toJson method
override
Implementation
@override
Map<String, dynamic> toJson() {
switch ($$typename) {
case r'SubscriptionInitialized':
return (this
as ChatEvents$Subscription$ChatEvents$SubscriptionInitialized)
.toJson();
case r'Chat':
return (this as ChatEvents$Subscription$ChatEvents$Chat).toJson();
case r'ChatEventsVersioned':
return (this as ChatEvents$Subscription$ChatEvents$ChatEventsVersioned)
.toJson();
default:
}
return _$ChatEvents$Subscription$ChatEventsToJson(this);
}