push method
void
push(
- T viewModel
将 ViewModel 压入堆栈
Implementation
void push(T viewModel) {
_stack.add(viewModel);
viewModel.disposeBag.addDisposeCallback(() => remove(viewModel));
RxLogger.log(
"${viewModel.runtimeType}Stack pushed, count: ${_stack.length}");
}