SqliteSchemaGenerator class

Produces a Schema from all @OfflineFirst annotations

Constructors

SqliteSchemaGenerator()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkerForField(FieldElement field) → SharedChecker<Model>
checkerForType(DartType type) → SharedChecker<SqliteModel>
createMigration(LibraryReader library, List<SqliteFields> fieldses, {int? version}) String?
Produce a migration from the difference between existing migrations and the latest schema
generate(LibraryReader library, List<SqliteFields> fieldses) String
Complete schema file output
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
schemaColumn(Sqlite column, {required SharedChecker<Model> checker}) → SchemaColumn?
schemaIndex(Sqlite column, {required SharedChecker<Model> checker}) → SchemaIndex?
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited