VideoEvent constructor
VideoEvent({
- required VideoEventType eventType,
- Duration? duration,
- Size? size,
- 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,
});