main function

void main()

Implementation

void main() {
  final table = TableModel(name: "Test", properties: [
    TableProperty(
      name: "id",
      type: "int",
      isNullable: false,
      isPrimaryKey: true,
      isAutoIncrement: true,
    ),
    TableProperty(
      name: "name",
      type: "String",
      isNullable: false,
      isPrimaryKey: false,
      isAutoIncrement: false,
    ),
  ]);

  print(table.createClass());
}