VideoEvent constructor

VideoEvent({
  1. required VideoEventType eventType,
  2. Duration? duration,
  3. Size? size,
  4. List<DurationRange>? buffered,
})

Creates an instance of VideoEvent.

The eventType argument is required.

Depending on the eventType, the duration, size and buffered arguments can be null.

Implementation

VideoEvent({
  required this.eventType,
  this.duration,
  this.size,
  this.buffered,
});