FavoriteChatsEventsVersionedMixin$Events.fromJson constructor

FavoriteChatsEventsVersionedMixin$Events.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory FavoriteChatsEventsVersionedMixin$Events.fromJson(
    Map<String, dynamic> json) {
  switch (json['__typename'].toString()) {
    case r'EventChatFavorited':
      return FavoriteChatsEventsVersionedMixin$Events$EventChatFavorited
          .fromJson(json);
    default:
  }
  return _$FavoriteChatsEventsVersionedMixin$EventsFromJson(json);
}