copyWith method

PaymentPayorderResult copyWith({
  1. String? stripeId,
  2. String? stripeClientSecret,
  3. String? stripeStatus,
  4. double? price,
  5. String? currency,
  6. double? subUnit,
})

Implementation

PaymentPayorderResult copyWith({
  String? stripeId,
  String? stripeClientSecret,
  String? stripeStatus,
  double? price,
  String? currency,
  double? subUnit,
}) =>
    PaymentPayorderResult(
      stripeId: stripeId ?? this.stripeId,
      stripeClientSecret: stripeClientSecret ?? this.stripeClientSecret,
      stripeStatus: stripeStatus ?? this.stripeStatus,
      price: price ?? this.price,
      currency: currency ?? this.currency,
      subUnit: subUnit ?? this.subUnit,
    );