Constructors
-
TableMigration({required String name, String? dartName, String? module, required String schema, required List<ColumnDefinition> addColumns, required List<String> deleteColumns, required List<ColumnMigration> modifyColumns, required List<IndexDefinition> addIndexes, required List<String> deleteIndexes, required List<ForeignKeyDefinition> addForeignKeys, required List<String> deleteForeignKeys, required List<DatabaseMigrationWarning> warnings})
-
factory
-
TableMigration.fromJson(Map<String, dynamic> jsonSerialization)
-
factory
Methods
-
copyWith({String? name, String? dartName, String? module, String? schema, List<ColumnDefinition>? addColumns, List<String>? deleteColumns, List<ColumnMigration>? modifyColumns, List<IndexDefinition>? addIndexes, List<String>? deleteIndexes, List<ForeignKeyDefinition>? addForeignKeys, List<String>? deleteForeignKeys, List<DatabaseMigrationWarning>? warnings})
→ TableMigration
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Map<String, dynamic>
-
Returns a serialized JSON structure of the model which also includes
fields used by the database.
override
-
toJsonForProtocol()
→ Map<String, dynamic>
-
Returns a JSON structure of the model, optimized for Protocol communication.
override
-
toString()
→ String
-
A string representation of this object.
override