fromResponse static method
- required CreateOrderResponse response,
Implementation
static List<OrderResultEntity> fromResponse({
required CreateOrderResponse response,
}) =>
response.ordersResult
?.map(
(OrderResultResponse e) =>
OrderResultMapper.fromResponse(response: e),
)
.toList() ??
<OrderResultEntity>[];