BonsoirEvent<T> constructor

const BonsoirEvent<T>({
  1. required T type,
  2. BonsoirService? service,
})

Creates a new Bonsoir event instance.

Implementation

const BonsoirEvent({
  required this.type,
  this.service,
});