track static method

void track(
  1. ValueNotifier value
)

Track an Rx value, called by the Rx.call() operator

Implementation

static void track(ValueNotifier value) {
  if (_tracker != null) {
    if (ZenConfig.enableDebugLogs) {
      ZenLogger.logDebug("RxTracking: Tracking ${value.runtimeType}");
    }
    _tracker!(value);
  } else {
    if (ZenConfig.enableDebugLogs) {
      //ZenLogger.logDebug("RxTracking: No tracker available for ${value.runtimeType}");
    }
  }
}