getELoadOrderHistory abstract method

  1. @GET.new(Api.getStockOrderHistory)
Future<StockOrderHistoryModel> getELoadOrderHistory({
  1. @Query.new("offset") required int offset,
  2. @Query.new("limit") required int limit,
  3. @Query.new("transactionType") required String transactionType,
  4. @Query.new("transactionSubType") required String transactionSubType,
  5. @Query.new("fromDate") String? fromDate,
  6. @Query.new("toDate") String? toDate,
})

Implementation

@GET(Api.getStockOrderHistory)
Future<StockOrderHistoryModel> getELoadOrderHistory({
  @Query("offset") required int offset,
  @Query("limit") required int limit,
  @Query("transactionType") required String transactionType,
  @Query("transactionSubType") required String transactionSubType,
  @Query("fromDate") String? fromDate,
  @Query("toDate") String? toDate,
});