writeDataClass method

void writeDataClass()

Implementation

void writeDataClass() {
  if (!table.hasExistingRowClass &&
      scope.generationOptions.writeDataClasses) {
    DataClassWriter(table, scope.child()).write();
  }

  if (scope.generationOptions.writeCompanions) {
    UpdateCompanionWriter(table, scope.child()).write();
  }
}