getProcessOrders method
Implementation
Future<List<ProcessOrder>> getProcessOrders({
required final String plant,
required final String orderResource,
required final String processOrder,
Options? getPurchaseConfirmationOptions,
}) async {
final Response<Json> response = await _orderApiProvider.getProcessOrders(
plant: plant,
orderResource: orderResource,
processOrder: processOrder,
getProcessOrdersOptions: getPurchaseConfirmationOptions,
);
final List<Json> resultsJson = List<Json>.from(response.data!['results']);
return resultsJson.map(ProcessOrder.fromJson).toList();
}