getShopList abstract method

  1. @GET("/shopList")
Future getShopList({
  1. @Header("Authorization") required String token,
  2. @Query("category") required String category,
})

Implementation

@GET("/shopList")
Future<dynamic> getShopList(
    {@Header("Authorization") required String token,
    @Query("category") required String category});