SqliteSchemaGenerator class Null safety

Produces a Schema from all @OfflineFirst annotations

Constructors

SqliteSchemaGenerator()
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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 non-existent 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