getById static method
Returns a BonsoirBroadcastEventType by its id
or unknown if not found.
Implementation
static BonsoirBroadcastEventType getById(String id) => values.firstWhere(
(type) => type.id == id,
orElse: () => BonsoirBroadcastEventType.unknown,
);