perimeter property

double get perimeter

Returns the perimeter in meters.

Implementation

double get perimeter => 2 * (length + width);