slots property

  1. @protected
Iterable<SlotType> slots

Returns a list of all available slots.

The list of slots must be static and must never change for a given class implementing this mixin.

Typically, an Enum is used to identify the different slots. In that case this getter can be implemented by returning what the values getter of the enum used returns.

Implementation

@protected
Iterable<SlotType> get slots;