BaseView<T extends BaseViewModel<Object> > constructor
BaseView<T extends BaseViewModel<Object> > ({})
Implementation
BaseView({required T viewModel, dynamic arguments, bool inject = true, super.key}) {
this.viewModel = inject ? Locator.register<T>(viewModel) : viewModel;
this.viewModel.arguments = arguments;
}