copyWith method

PaymentMethodCompleteModel copyWith({
  1. String? id,
  2. String? description,
  3. String? itemType,
  4. 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,
  );
}