create
Creates a new instance of the given modelClass
(ViewModel).
Return
A newly created ViewModel.
Parameters
model Class
A class whose instance is requested, which must be a subclass of ViewModel.
Throws
if the modelClass is not assignable from NoteViewModel.