Reference constructor

const Reference(
  1. List<Object> parts
)

Abstract const constructor. This constructor enables subclasses to provide const constructors so that they can be used in const expressions.

The parts must not be mutated after the object is created.

Implementation

const Reference(this.parts);