createViewModel

internal fun createViewModel(modelClass: Class<out ViewModel>): ViewModel

Create a ViewModel object by modelClass.

Update default constructor instance method since 0.5.3 to adapt to SDK 34.