writeGetColumnsOverride method

void writeGetColumnsOverride()

Implementation

void writeGetColumnsOverride() {
  final columnsWithGetters =
      tableOrView.columns.map((c) => c.dartGetterName).join(', ');
  buffer.write('@override\nList<GeneratedColumn> get \$columns => '
      '[$columnsWithGetters];\n');
}