Untitled
unknown
plain_text
2 years ago
649 B
5
Indexable
class MySpecilistRepo { final BaseApiServices _apiServices = NetworkApiService(); Future<dynamic> dashboardApi(String userId,String productCategoryId) async { try { var params = { "getOtherCategoryCompaniesList_req": [ { "requestInfo": { "user_id": userId, "product_category_id": productCategoryId } } ] }; dynamic response = await _apiServices.authApiResponse(AppUrl.GET_LIST_OF_POOJA, params); print("dashboard $response"); return Poojlistmodel.fromJson(response); } catch (e) { rethrow; } } }
Editor is loading...