getShopList abstract method

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

Implementation

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