subscribeControl method Null safety

  1. @protected
  2. @mustCallSuper
void subscribeControl()

Implementation

@protected
@mustCallSuper
void subscribeControl() {
  _statusChangesSubscription =
      control.statusChanged.listen(_onControlStatusChanged);
  _touchChangesSubscription =
      control.touchChanges.listen(_onControlTouchChanged);
  _subscribeValueAccessor();
}