onCreate property

void Function(VM)? onCreate
final

The callback that is called when the ViewModel is created

Implementation

final void Function(VM)? onCreate;