StreetViewEvent<T> constructor

StreetViewEvent<T>(
  1. int viewId,
  2. T value
)

Build a Street View Event, that relates a viewId with a given value.

The viewId is the id of the street view that triggered the event. value may be null in events that don't transport any meaningful data.

Implementation

StreetViewEvent(this.viewId, this.value);