fromString method

Future<GeoXml> fromString(
  1. String xml
)

Parse xml string and create Gpx object

Implementation

Future<GeoXml> fromString(String xml) {
  final iterator = StreamIterator(Stream.fromIterable(parseEvents(xml)));

  return _fromIterator(iterator);
}