fromStream method

Future<GeoXml> fromStream(
  1. Stream<String> stream
)

Parse xml stream and create Gpx object

Implementation

Future<GeoXml> fromStream(Stream<String> stream) async {
  final iterator = StreamIterator(toXmlStream(stream));

  return _fromIterator(iterator);
}