onLocationChanged method

Stream<LocationChangedEvent> onLocationChanged({
  1. required int mapId,
})

Implementation

Stream<LocationChangedEvent> onLocationChanged({required int mapId}) {
  return _events(mapId).whereType<LocationChangedEvent>();
}