DOMRectReadOnly constructor

DOMRectReadOnly([
  1. dynamic x = 0,
  2. dynamic y = 0,
  3. dynamic width = 0,
  4. dynamic height = 0,
])

Implementation

factory DOMRectReadOnly(
        [/* double | NaN */ dynamic x = 0,
        /* double | NaN */ dynamic y = 0,
        /* double | NaN */ dynamic width = 0,
        /* double | NaN */ dynamic height = 0]) =>
    DOMRectReadOnly._(x ?? 0, y ?? 0, width ?? 0, height ?? 0);