positions static method
Live positions. One native stream at a time; later listeners share it.
Implementation
static Stream<UPosition> positions([ULocationSettings settings = const ULocationSettings()]) {
if (kIsWeb) return ULocationWeb.positions(settings);
return _updates.receiveBroadcastStream(settings.toMap()).map((dynamic e) => UPosition.fromMap(e as Map<Object?, Object?>)).handleError((Object e) => throw _mapStreamError(e));
}