LoginViewModel constructor

LoginViewModel({
  1. required AuthRepository authRepository,
})

Implementation

LoginViewModel({required AuthRepository authRepository})
  : _authRepository = authRepository {
  loginCommand = Command0(action: _login, canExecute: () => isValid.value);
}