ModelTableSnapshot class

Snapshot of a single model's table shape.

Constructors

ModelTableSnapshot({required String modelName, required String tableName, required String? schema, required List<ModelColumnSnapshot> columns})
ModelTableSnapshot.fromDefinition(ModelDefinition<OrmEntity> definition)
factory

Properties

columns List<ModelColumnSnapshot>
final
hashCode int
The hash code for this object.
no setterinherited
modelName String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schema String?
final
tableName String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCreateBlueprint() TableBlueprint
Produces a TableBlueprint that mirrors the current model definition.
toString() String
A string representation of this object.
inherited

Operators

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