Why network call is not triggered while using retrofit with jetpack compose mvvvm

I have an endpoint

https://api.openweathermap.org/data/2.5/weather?q=sukkur,pk&appid=5*****************c

I want to use retrofit to make call to this end point

interface WeatherApiService {

    @GET(K.CURRENT_WEATHER_URL)
    suspend fun getCurrentWeather(
        @Query(ApiParameters.Q) city: String,
        @Query(ApiParameters.APP_ID) appId: String = K.API_KEY,
        @Query(ApiParameters.UNITS) units: String = K.METRIC
    ): CurrentCondition
}

and I have

interface CurrentConditionRepository {
    suspend fun getCurrentCondition(city: String): Flow<Response<CurrentConditionDto>>
}

and

class CurrentConditionRepositoryImpl @Inject constructor(
    private val apiService: WeatherApiService
): CurrentConditionRepository {
    override suspend fun getCurrentCondition(
        city: String
    ): Flow<Response<CurrentConditionDto>> = flow {
        // Loading state
        emit(Response.Loading)

        // Get current condition data from API
        val currentConditionData = apiService.getCurrentWeather(city)

        // Convert current condition data to DTO
        val currentConditionDto = currentConditionData.toDto()

        // Success state
        emit(Response.Success(currentConditionDto))
    }.catch { e ->
        // Error state
        e.printStackTrace()
        emit(Response.Error(e.message.orEmpty()))
    }
}

I have

class GetCurrentConditionUseCase(
    private val repository: CurrentConditionRepository
) {
    suspend operator fun invoke(city: String) = repository.getCurrentCondition(city)
}

in the end in view model I have

@HiltViewModel
class HomeViewModel @Inject constructor(
    private val getCurrentConditionUseCase: GetCurrentConditionUseCase
): ViewModel(){

    var getCurrentConditionWithState: StateFlow<Response<CurrentConditionDto>> = MutableStateFlow(Response.Loading)

    fun getCurrentCondition(city: String){
        viewModelScope.launch {
            Log.e("HomeViewModel", "getCurrentCondition()")
            getCurrentConditionWithState = getCurrentConditionUseCase.invoke(city)
                .stateIn(
                    scope = viewModelScope,
                    started = SharingStarted.WhileSubscribed(),
                    initialValue = Response.Loading
                )
        }
    }

}

}

all the Hilt DI is

@Module
@InstallIn(SingletonComponent::class)
object NetworkModule {
    private val json = Json {
        coerceInputValues = true
        ignoreUnknownKeys = true
    }

    @Provides
    @Singleton
    fun provideApi(
        builder: Retrofit.Builder,
    ): WeatherApiService {
        return builder
            .build()
            .create(WeatherApiService::class.java)
    }

    @Provides
    @Singleton
    fun provideRetrofitBuilder(): Retrofit.Builder {
        return Retrofit.Builder().baseUrl(K.API_BASE_URL)
            .addConverterFactory(json.asConverterFactory("application/json".toMediaType()))

    }

    @Provides
    @Singleton
    fun providesCurrentConditionRepository(
        apiService: WeatherApiService
    ): CurrentConditionRepository {
        return CurrentConditionRepositoryImpl(apiService)
    }

    @Provides
    @Singleton
    fun providesCurrentConditionUseCase(
        repository: CurrentConditionRepository
    ): GetCurrentConditionUseCase {
        return GetCurrentConditionUseCase(repository)
    }

}

when I use all that in

@AndroidEntryPoint
class MainActivity : ComponentActivity() {

    private val viewModel: HomeViewModel by viewModels()
    private val TAG = "MainActivity"

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        enableEdgeToEdge()
        setContent {
            NimbleWeatherTheme {
                Scaffold(modifier = Modifier.fillMaxSize()) { innerPadding ->
                    Column(
                        modifier = Modifier
                            .padding(innerPadding)
                    ) {
                        CurrentConditionScreen(viewModel, Modifier.padding(innerPadding))
                    }
                }
            }
        }
    }
}

@Composable
fun CurrentConditionScreen(viewModel: HomeViewModel, modifier: Modifier = Modifier) {
    val currentConditionState by viewModel.getCurrentConditionWithState.collectAsState(initial = Response.Loading)

    Column(modifier = modifier) {
        Button(onClick = { viewModel.getCurrentCondition("sukkur") }) {
            Text(text = "Search for Sukkur")
        }

        // Display the current condition based on the state
        when (currentConditionState) {
            is Response.Loading -> Text("Loading...")
            is Response.Success -> {
                val currentCondition = (currentConditionState as Response.Success<CurrentConditionDto>).data
                Log.e("CURRENT_CONDITION", currentCondition.name)
                Text("Current Condition: ${currentCondition.name}")
            }
            is Response.Error -> {
                val error = (currentConditionState as Response.Error).message
                Text("Error: $error")
            }
        }
    }
}

only Loading is shown and no any network call is made

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật