getCollectHistoryAssets abstract method

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