We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, how can I handle lists from the backend. I have a List of string and I want to parse to dart objects.
The backend consists of returning a list of strings
private static readonly Dictionary<string, string> userLookup = new(); await Clients.All.SendAsync( Messages.USER.JOINED, JsonConvert.SerializeObject(userLookup.Select(x => x.Value)));
The frontend
hubHelper.hubConnection.on('USER_JOINED', (args) { var response = args![0]! as List<String>; print(response); });
I can do the trim, but it's not supposed to deserialize the object into a List in dart?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, how can I handle lists from the backend.
I have a List of string and I want to parse to dart objects.
The backend consists of returning a list of strings
The frontend
I can do the trim, but it's not supposed to deserialize the object into a List in dart?
The text was updated successfully, but these errors were encountered: