copyWith method
Implementation
CheckoutData copyWith({
Map<String, dynamic>? metadata,
Order? order,
Shopper? shopper,
}) =>
CheckoutData(
metadata: metadata ?? this.metadata,
order: order ?? this.order,
shopper: shopper ?? this.shopper,
);