onViewModelReady method Null safety

void onViewModelReady(
  1. T viewModel
)

Fires when the ViewModel is first created or re-created

This will fire multiple times when createNewModelOnInsert is set to true

Implementation

void onViewModelReady(T viewModel) {}