getProductList abstract method

  1. @GET("/productList")
Future getProductList({
  1. @Header("Authorization") required String token,
  2. @Query("shopId") required String shopId,
})

Implementation

@GET("/productList")
Future<dynamic> getProductList(
    {@Header("Authorization") required String token,
    @Query("shopId") required String shopId});