checkModelAtol method

dynamic checkModelAtol()

Implementation

ModelSS checkModelAtol() {
  final List<ItemCheck> itemsCheck = items.map((item) {
    return ItemCheck(
      name: item.name,
      price: item.price,
      quantity: item.quantity,
      measurementUnit: item.measurementUnit,
      paymentObjectCheck:
          PaymentObjectCheck.fromString(item.paymentObject.totext)!,
    );
  }).toList();

  return ModelSS(
    idempotenceKeyERN: idempotenceKey,
    emailClient: emailClient,
    phoneClient: phoneClient,
    callbackUrl: callbackUrl,
    items: itemsCheck.map((e) => ItemListModelSS.from(e.toMap())).toList(),
  );
}