DOMRectReadOnly constructor
DOMRectReadOnly([
- dynamic x = 0,
- dynamic y = 0,
- dynamic width = 0,
- 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);