onViewModelReady property

(dynamic Function(T viewModel)?) onViewModelReady
final

Fires once when the ViewModel is created or set for the first time

If you want this to fire everytime the widget is inserted set createNewViewModelOnInsert to true

Implementation

final Function(T viewModel)? onViewModelReady;