How class observable (obs) using Getx in flutter

Issue This is issue, final Rx<MainGetHomeElementsModel?> mainModel =Rx<MainGetHomeElementsModel?[].obs; observable class in getx Solution I fixed this issue using this idea, final Rx<HomeModel?> mainModel =HomeModel(content: []).obs; final Rx<HomeModel?> mainModel=Rxn<HomeModel>() ; Answered By – RIYAS PULLUR Answer Checked By – David Goodson

Continue reading