copyWith method
SourceAttributes
copyWith({
- String? type,
- double? amount,
- String? currency,
- Redirect? redirect,
- PayMongoBilling? billing,
Implementation
SourceAttributes copyWith({
String? type,
double? amount,
String? currency,
Redirect? redirect,
PayMongoBilling? billing,
}) {
return SourceAttributes(
type: type ?? this.type,
amount: amount ?? this.amount,
currency: currency ?? this.currency,
redirect: redirect ?? this.redirect,
billing: billing ?? this.billing,
);
}