TableDeclaration class Null safety

Constructors

TableDeclaration({required String tableName, required String className})
TableDeclaration.fromMap(Map map)

Properties

className String
read / write
fields List<FieldDeclaration>
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
indexes List<IndexDeclaration>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tableName String
read / write
uniqueIndexes List<UniqueDeclaration>
read / write

Methods

alterTableAddColumn(FieldDeclaration field) String
alterTableDropColumn(FieldDeclaration field) String
alterTableModify(FieldDeclaration current, FieldDeclaration latest) String
asMap() Map<String, dynamic>
compareWith(TableDeclaration otherTable) String
createIndexSQL(IndexDeclaration idx) String
createScript() String
createUniqueSQL(UniqueDeclaration idx) String
dropIndexSQL(IndexDeclaration idx) String
dropTableSql() String
dropUniqueSQL(UniqueDeclaration idx) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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