copyWith method
Implementation
CreatePaymentResponse copyWith({
String? id,
SourceResult? source,
String? type,
}) {
return CreatePaymentResponse(
id: id ?? this.id,
source: source ?? this.source,
type: type ?? this.type,
);
}
CreatePaymentResponse copyWith({
String? id,
SourceResult? source,
String? type,
}) {
return CreatePaymentResponse(
id: id ?? this.id,
source: source ?? this.source,
type: type ?? this.type,
);
}