getShop abstract method

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

Implementation

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