MapEvent<T> constructor

MapEvent<T>(
  1. int mapId,
  2. T value
)

Build a Map Event, that relates a mapId with a given value.

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

Implementation

MapEvent(this.mapId, this.value);