acceptSignals method

void acceptSignals (
  1. List enums
)

Add a list of signals that are accepted.

We do not map the signal as that is determined in the parent. We record the fact that ewe accept signals belonging to a certain Enums type.

Implementation

void acceptSignals(List enums) {
  sf.enumTypes.add(enums[0].runtimeType);
}