Dimension constructor

Dimension(
  1. double width,
  2. double height
)

Implementation

Dimension(this.width, this.height)
    : assert(width >= 0),
      assert(height >= 0);