getViewModelByName

fun getViewModelByName(viewModelName: String): ViewModel

Get the ViewModel definition from the file.

Return

The ViewModel definition.

Parameters

viewModelName

The Rive file name of the ViewModel.

Throws

If the ViewModel is not found.