Event constructor

Event(
  1. {String? id,
  2. String? name,
  3. dynamic data}
)

Implementation

Event({
  this.id,
  this.name,
  this.data,
});