validateAssets abstract method

  1. @GET(Api.validateAssets)
Future<StockDeliveryScanModel> validateAssets({
  1. @Query("assetStartRange") String? assetStartRange,
  2. @Query("assetEndRange") String? assetEndRange,
  3. @Query("assetIds") String? assetIds,
  4. @Query("action") required String action,
  5. @Query("fromPartnerId") String? fromPartnerId,
  6. @Query("transferOrderId") String? transferOrderId,
  7. @Header("X-UserId") String xUserId = "",
  8. @Header("content-type") String type = "application/json",
})

Implementation

@GET(Api.validateAssets)
Future<StockDeliveryScanModel> validateAssets({
  @Query("assetStartRange") String? assetStartRange,
  @Query("assetEndRange") String? assetEndRange,
  @Query("assetIds") String? assetIds,
  @Query("action") required String action,
  @Query("fromPartnerId") String? fromPartnerId,
  @Query("transferOrderId") String? transferOrderId,
  @Header("X-UserId") String xUserId = "",
  @Header("content-type") String type = "application/json",
});