Rectangle constructor

Rectangle(
  1. num length,
  2. num width
)

Constructs a Rectangle with a given length and width.

Implementation

Rectangle(this.length, this.width) : super("Rectangle");