httpStream property

Stream<HttpEvent> get httpStream

Stream of HTTP sync events.

Implementation

static Stream<HttpEvent> get httpStream {
  return events
      .where((event) => event.type == EventType.http)
      .cast<GeolocationEvent<HttpEvent>>()
      .map((event) => event.data);
}