VideoFrameInit constructor
VideoFrameInit({
- int? duration,
- int? timestamp,
- AlphaOption? alpha,
- DOMRectInit? visibleRect,
- int? displayWidth,
- int? displayHeight,
Implementation
factory VideoFrameInit(
{int? duration,
int? timestamp,
AlphaOption? alpha,
DOMRectInit? visibleRect,
int? displayWidth,
int? displayHeight}) =>
VideoFrameInit._(
duration: duration ?? undefined,
timestamp: timestamp ?? undefined,
alpha: alpha?.value ?? AlphaOption.keep.value,
visibleRect: visibleRect ?? undefined,
displayWidth: displayWidth ?? undefined,
displayHeight: displayHeight ?? undefined);