remove method

void remove(
  1. T? viewModel
)

从堆栈中移除 ViewModel

Implementation

void remove(T? viewModel) {
  if (_stack.remove(viewModel)) {
    RxLogger.log(
        "${viewModel.runtimeType}Stack removed, count: ${_stack.length}");
  }
}