updateNullability method

  1. @internal
void updateNullability(
  1. String label,
  2. bool isNull
)

Updates Knob.isNull using the label to find the Knob.

Implementation

@internal
void updateNullability(String label, bool isNull) {
  _registry.update(
    label,
    (knob) => knob..isNull = isNull,
  );

  notifyListeners();
}