ResizeObserverEntry constructor

ResizeObserverEntry({
  1. Size? borderBoxSize,
  2. Size? contentBoxSize,
  3. Size? devicePixelContentBoxSize,
  4. Size? contentRect,
})

Implementation

ResizeObserverEntry({Size? borderBoxSize, Size? contentBoxSize, Size? devicePixelContentBoxSize, Size? contentRect})
    : borderBoxSize = borderBoxSize ?? Size.zero,
      contentBoxSize = contentBoxSize ?? Size.zero,
      devicePixelContentBoxSize = devicePixelContentBoxSize ?? Size.zero,
      contentRect = contentRect ?? Size.zero;