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