Shape constructor

const Shape(
  1. {required Type object}
)

A constructor that takes an object as a parameter.

Implementation

const Shape({
  required this.object,
});