SchemaSnapshot class
Captures a read-only snapshot of schema metadata for offline inspection.
Constructors
-
SchemaSnapshot({required List<
SchemaNamespace> schemas, required List<SchemaTable> tables, required List<SchemaView> views, required List<SchemaColumn> columns, required List<SchemaIndex> indexes, required List<SchemaForeignKey> foreignKeys}) -
SchemaSnapshot.fromJson(Map<
String, Object?> json) -
factory
Properties
-
columns
→ List<
SchemaColumn> -
final
-
foreignKeys
→ List<
SchemaForeignKey> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
indexes
→ List<
SchemaIndex> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
schemas
→ List<
SchemaNamespace> -
final
-
tables
→ List<
SchemaTable> -
final
-
views
→ List<
SchemaView> -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
capture(
SchemaDriver driver) → Future< SchemaSnapshot>