articleSchema top-level constant

CollectionSchema const articleSchema

Implementation

const articleSchema = CollectionSchema(
  tableNameArticle,
  properties: [
    PropertySchema("id",
        type: PropertyType.integer, primaryKey: true, nullable: false),
    PropertySchema("title", type: PropertyType.text),
  ],
);