RootWidgetViewModel constructor

RootWidgetViewModel(
  1. int engineId
)

Implementation

RootWidgetViewModel(int engineId) {
  _instanceId = engineId * 10000 + (++sIdCounter);
  viewExecutor = () {
    if (viewExecutorList.isNotEmpty) {
      for (var element in viewExecutorList) {
        element();
      }
    }
  };
}