copyWith method

OrderItems copyWith({
  1. num? productRefId,
  2. num? price,
  3. String? currency,
  4. String? pricePeriod,
  5. String? label,
  6. String? subtitleLabel,
  7. String? description,
})

Implementation

OrderItems copyWith({
  num? productRefId,
  num? price,
  String? currency,
  String? pricePeriod,
  String? label,
  String? subtitleLabel,
  String? description,
}) =>
    OrderItems(
      productRefId: productRefId ?? this.productRefId,
      price: price ?? this.price,
      currency: currency ?? this.currency,
      pricePeriod: pricePeriod ?? this.pricePeriod,
      label: label ?? this.label,
      subtitleLabel: subtitleLabel ?? this.subtitleLabel,
      description: description ?? this.description,
    );