slots property Null safety

Iterable<S> slots
protected">@protected

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<S> get slots;