userSchema top-level constant
CollectionSchema
const userSchema
Implementation
const userSchema = CollectionSchema(
tableNameUser,
properties: [
PropertySchema("id",
type: PropertyType.integer, primaryKey: true, nullable: false),
PropertySchema("name", type: PropertyType.text),
],
);