AutomationEventD constructor

AutomationEventD({
  1. StructPointer<AutomationEventD>? op,
  2. int frame = 0,
  3. AutomationEventType type = .EVENT_NONE,
  4. List<int>? params,
})

Implementation

AutomationEventD({
  super.op,
  int frame = 0,
  AutomationEventType type = .EVENT_NONE,
  List<int>? params,
}) :
  _frame = frame,
  _type = type
{
  _params = field_params.live(
    () => op,
    .filled(field_params.codec.type.count, 0),
  );
}