onListen method

  1. @mustCallSuper
void onListen(
  1. BuildContext context,
  2. VM viewModel
)

Implementation

@mustCallSuper
void onListen(BuildContext context, VM viewModel) {
  /// Do not update ui here.
  /// Only for route other page or show dialog.
  dev.log(
      "onListen:${viewModel.state}\nviewModel is $viewModel:${viewModel.hashCode}",
      name: "$this:${this.hashCode}");
}