FavoriteChat$Mutation$FavoriteChat.fromJson constructor
FavoriteChat$Mutation$FavoriteChat.fromJson( - Map<String, dynamic> json
)
Implementation
factory FavoriteChat$Mutation$FavoriteChat.fromJson(
Map<String, dynamic> json) {
switch (json['__typename'].toString()) {
case r'ChatEventsVersioned':
return FavoriteChat$Mutation$FavoriteChat$ChatEventsVersioned.fromJson(
json);
case r'FavoriteChatError':
return FavoriteChat$Mutation$FavoriteChat$FavoriteChatError.fromJson(
json);
default:
}
return _$FavoriteChat$Mutation$FavoriteChatFromJson(json);
}