toCompanion method
Implementation
CompanyCompanion toCompanion(bool nullToAbsent) {
return CompanyCompanion(
id: Value(id),
companyIdParent: companyIdParent == null && nullToAbsent
? const Value.absent()
: Value(companyIdParent),
code: Value(code),
name: Value(name),
imagePath: imagePath == null && nullToAbsent
? const Value.absent()
: Value(imagePath),
description: description == null && nullToAbsent
? const Value.absent()
: Value(description),
);
}