DeleteUserDirectLink$Mutation$DeleteChatDirectLink.fromJson constructor
DeleteUserDirectLink$Mutation$DeleteChatDirectLink.fromJson( - Map<String, dynamic> json
)
Implementation
factory DeleteUserDirectLink$Mutation$DeleteChatDirectLink.fromJson(
Map<String, dynamic> json) {
switch (json['__typename'].toString()) {
case r'MyUserEventsVersioned':
return DeleteUserDirectLink$Mutation$DeleteChatDirectLink$MyUserEventsVersioned
.fromJson(json);
case r'DeleteChatDirectLinkError':
return DeleteUserDirectLink$Mutation$DeleteChatDirectLink$DeleteChatDirectLinkError
.fromJson(json);
default:
}
return _$DeleteUserDirectLink$Mutation$DeleteChatDirectLinkFromJson(json);
}