GeneratedSchema class final

A generated typed client and the physical schema derived from its models.

Generation does not open a database or apply a migration. Review schema changes through the migration workflow before applying them.

Constructors

GeneratedSchema(String dart, SchemaSnapshot snapshot)
Combines generated dart source with its physical snapshot.
const

Properties

dart String
Formatted Dart source for the generated query client.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snapshot SchemaSnapshot
Physical tables, keys and constraints captured from the declaration.
final
snapshotDart String
Standalone Dart source for snapshot, independent of current model types.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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