copyWith method

CardsCompanion copyWith(
  1. {Value<int>? id,
  2. Value<int>? userId,
  3. Value<String>? image,
  4. Value<String>? name,
  5. Value<String>? desc,
  6. Value<DateTime>? updateAt,
  7. Value<DateTime>? createAt}
)

Implementation

CardsCompanion copyWith(
    {Value<int>? id,
    Value<int>? userId,
    Value<String>? image,
    Value<String>? name,
    Value<String>? desc,
    Value<DateTime>? updateAt,
    Value<DateTime>? createAt}) {
  return CardsCompanion(
    id: id ?? this.id,
    userId: userId ?? this.userId,
    image: image ?? this.image,
    name: name ?? this.name,
    desc: desc ?? this.desc,
    updateAt: updateAt ?? this.updateAt,
    createAt: createAt ?? this.createAt,
  );
}