toJson method

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

Implementation

@override
Map<String, dynamic> toJson() {
  switch ($$typename) {
    case r'SubscriptionInitialized':
      return (this
              as FavoriteChatsEvents$Subscription$FavoriteChatsEvents$SubscriptionInitialized)
          .toJson();
    case r'FavoriteChatsEventsVersioned':
      return (this
              as FavoriteChatsEvents$Subscription$FavoriteChatsEvents$FavoriteChatsEventsVersioned)
          .toJson();
    default:
  }
  return _$FavoriteChatsEvents$Subscription$FavoriteChatsEventsToJson(this);
}