copyWith method
Implementation
CouponCompanion copyWith({
Value<int>? id,
Value<String>? code,
Value<String>? name,
Value<bool>? active,
Value<String>? type,
Value<String?>? description,
}) {
return CouponCompanion(
id: id ?? this.id,
code: code ?? this.code,
name: name ?? this.name,
active: active ?? this.active,
type: type ?? this.type,
description: description ?? this.description,
);
}