custom static method
Implementation
static Insertable<DepartmentData> custom({
Expression<int>? id,
Expression<String>? code,
Expression<String>? name,
Expression<int>? companyId,
Expression<int>? managerId,
Expression<String>? imagePath,
Expression<String>? description,
}) {
return RawValuesInsertable({
if (id != null) 'id': id,
if (code != null) 'code': code,
if (name != null) 'name': name,
if (companyId != null) 'company_id': companyId,
if (managerId != null) 'manager_id': managerId,
if (imagePath != null) 'image_path': imagePath,
if (description != null) 'description': description,
});
}