VideoFrameInit constructor

VideoFrameInit({
  1. AlphaOption? alpha,
  2. num? displayHeight,
  3. num? displayWidth,
  4. num? duration,
  5. num? timestamp,
  6. DOMRectInit? visibleRect,
})

Implementation

factory VideoFrameInit({
  _i3.AlphaOption? alpha,
  _i2.num? displayHeight,
  _i2.num? displayWidth,
  _i2.num? duration,
  _i2.num? timestamp,
  _i3.DOMRectInit? visibleRect,
}) =>
    VideoFrameInit._(
      alpha: alpha?.name ?? _i6.undefined,
      displayHeight: displayHeight,
      displayWidth: displayWidth,
      duration: duration,
      timestamp: timestamp,
      visibleRect: visibleRect ?? _i6.undefined,
    );