copyWith method
Implementation
CustomerCompanion copyWith({
Value<int>? id,
Value<String>? code,
Value<String>? name,
Value<bool>? vip,
Value<String?>? address,
Value<String?>? phone,
Value<String>? email,
Value<String?>? imagePath,
}) {
return CustomerCompanion(
id: id ?? this.id,
code: code ?? this.code,
name: name ?? this.name,
vip: vip ?? this.vip,
address: address ?? this.address,
phone: phone ?? this.phone,
email: email ?? this.email,
imagePath: imagePath ?? this.imagePath,
);
}