write method
void
write()
Implementation
void write() {
_buffer.write('class ${table.getNameForCompanionClass(scope.options)} '
'extends '
'UpdateCompanion<${table.dartTypeCode(scope.generationOptions)}> {\n');
_writeFields();
_writeConstructor();
_writeInsertConstructor();
_writeCustomConstructor();
_writeCopyWith();
_writeToColumnsOverride();
_writeToString();
_buffer.write('}\n');
if (table.existingRowClass?.generateInsertable ?? false) {
_writeToCompanionExtension();
}
}