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