loriItems property

List<CartItem> loriItems
@JsonKey(ignore: true)

Shorthand property to get only the regular items

Implementation

@JsonKey(ignore: true)
List<CartItem> get loriItems {
  return this.allItems.where((i) => !i.isPromotional && !i.isGift).toList();
}