toJson method

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

Implementation

@override
Map<String, dynamic> toJson() {
  switch ($$typename) {
    case r'ChatEventsVersioned':
      return (this as FavoriteChat$Mutation$FavoriteChat$ChatEventsVersioned)
          .toJson();
    case r'FavoriteChatError':
      return (this as FavoriteChat$Mutation$FavoriteChat$FavoriteChatError)
          .toJson();
    default:
  }
  return _$FavoriteChat$Mutation$FavoriteChatToJson(this);
}