Closed panos42 closed 1 year ago
PingResponse is a dart object with fields for each of the values you are trying to access. No parsing necessary. You can see the documentation about these fields here: https://pub.dev/documentation/dart_ping/latest/dart_ping/PingResponse-class.html
If that does not solve your issue, please post a code example of what you are trying to do (even if it doesnt work) so I have a better idea.
Closing due to inactivity
Hey,the current format I display PingResponse(seq:1, ip:142.250.184.238,ttl:56, time:42.2 ms) I want to show only the ip ttl and time in each list tile without the PingResponse( .. etc. How could I parse the result and only show the important info in a clearer way ?