MBTrigger constructor

MBTrigger({
  1. required String id,
  2. required MBTriggerType triggerType,
})

Initializes a trigger with an id and a type. @param id The id of the trigger. @param triggerType The type of trigger.

Implementation

MBTrigger({
  required this.id,
  required this.triggerType,
});