In this Dart/Flutter tutorial, I will show you how to convert XML to JSON using xml2json package. You also know way to read XML file or get content from Url and parse XML to JSON object.
Related Post: Dart/Flutter – Convert/Parse JSON string, array into Object, List