MergeableMaterialItem constructor

const MergeableMaterialItem(LocalKey key)

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

The argument is the key, which must not be null.

Implementation

const MergeableMaterialItem(this.key) : assert(key != null);