ifRxAutoAspectEmpty function

bool ifRxAutoAspectEmpty(
  1. List<Object> rxAutoAspectList
)

Implementation

bool ifRxAutoAspectEmpty(List<Object> rxAutoAspectList) {
  if (rxAutoAspectList.isEmpty) {
    debugPrint(
        'Mediator Warning: Not finding any watched variable in the widget. '
        'Use `watchedVar.consume()` or `model.rxVar.touch()`, '
        'or use at least one watched variable in the widget.');
  }
  return true;
}