copyWith method
PaymentMethodCompleteModel
copyWith({
- String? id,
- String? description,
- String? itemType,
- PaymentMethodFullData? data,
Implementation
PaymentMethodCompleteModel copyWith({
String? id,
String? description,
String? itemType,
PaymentMethodFullData? data,
}) {
return PaymentMethodCompleteModel(
id: id ?? this.id,
description: description ?? this.description,
itemType: itemType ?? this.itemType,
data: data ?? this.data,
);
}