copyWith method

PaymentMethod copyWith({
  1. int? id,
  2. String? label,
  3. dynamic pictureUrl,
})

Implementation

PaymentMethod copyWith({
  int? id,
  String? label,
  dynamic pictureUrl,
}) =>
    PaymentMethod(
      id: id ?? this.id,
      label: label ?? this.label,
      pictureUrl: pictureUrl ?? this.pictureUrl,
    );