copyWith method

CompanyCompanion copyWith({
  1. Value<int>? id,
  2. Value<int?>? companyIdParent,
  3. Value<String>? code,
  4. Value<String>? name,
  5. Value<String?>? imagePath,
  6. Value<String?>? description,
})

Implementation

CompanyCompanion copyWith({
  Value<int>? id,
  Value<int?>? companyIdParent,
  Value<String>? code,
  Value<String>? name,
  Value<String?>? imagePath,
  Value<String?>? description,
}) {
  return CompanyCompanion(
    id: id ?? this.id,
    companyIdParent: companyIdParent ?? this.companyIdParent,
    code: code ?? this.code,
    name: name ?? this.name,
    imagePath: imagePath ?? this.imagePath,
    description: description ?? this.description,
  );
}