copyWith method
Implementation
ApplePayItem copyWith({String? label, double? amount}) {
return ApplePayItem(
label: label ?? this.label, amount: amount ?? this.amount);
}
ApplePayItem copyWith({String? label, double? amount}) {
return ApplePayItem(
label: label ?? this.label, amount: amount ?? this.amount);
}