Sign Up View Model Factory
fun SignUpViewModelFactory( authenticationService: AuthenticationService, passwordManager: PasswordManager, credentialsValidationUseCase: CredentialsValidationUseCase, dispatcherProvider: DispatcherProvider = StandardDispatchersProvider(io = Dispatchers.Main))
Content copied to clipboard
Parameters
authentication Service
the authentication service that is used in the viewModel.
dispatcher Provider
the dispatcher provider that is to be used in the viewModel. By default, it uses an instance of StandardDispatchersProvider. The io dispatcher is changed to Dispatchers.Main because, the data layer ensures that all suspend functions are main safe.