getMainViewModel

open fun getMainViewModel(project: <Error class: unknown class>?): MainViewModel

Returns a MainViewModel for a specific project.

Return

A main view model.

Parameters

project

A project, or null (equivalent for default project).