LoopedEvent constructor Null safety

const LoopedEvent(
  1. Context context,
  2. Generator generator
)

Create an instance.

Implementation

const LoopedEvent(Context context, this.generator)
    : super(context, EventTypes.looped);