getCollectHistoryAssets abstract method

  1. @GET.new("${Api.getCollectHistoryAssets}/{type}/assets")
Future<CollectHistoryAssetsModel> getCollectHistoryAssets({
  1. @Query.new("search") String? search,
  2. @Path.new("type") required String type,
  3. @Query.new("limit") int limit = 10,
  4. @Query.new("offset") int? offset,
  5. @Query.new("productCode") required String productCode,
  6. @Query.new("assetsTransactionId") required String assetsTransactionId,
})

Implementation

@GET("${Api.getCollectHistoryAssets}/{type}/assets")
Future<CollectHistoryAssetsModel> getCollectHistoryAssets({
  @Query("search") String? search,
  @Path("type") required String type,
  @Query("limit") int limit = 10,
  @Query("offset") int? offset,
  @Query("productCode") required String productCode,
  @Query("assetsTransactionId") required String assetsTransactionId,
});