makeUnassignable method

  1. @override
void makeUnassignable()
override

Makes it so that this signal cannot be assigned by any full (<=) or conditional (<) assignment.

Implementation

@override
void makeUnassignable() {
  for (final element in elements) {
    element.makeUnassignable();
  }
}