DatabaseTableEditor mixin Null safety
- Superclass Constraints
- Implemented by
Constructors
Properties
- 
  tableNames
  → List<String> 
- 
  List of table names currently in database 
  read-only
- db ↔ Database
- 
  The database connection to handle data storage operations 
  read / write, inherited
- name → String
- 
  Name of the database 
  final, inherited
- version → int
- 
  The current version of the database 
  final, inherited
- 
  schema
  → Map<String, List< String> >
- 
  The database schema as a map of the table name to the column names 
  final, inherited
- hashCode → int
- 
  The hash code for this object. [...]
  read-only, inherited
- runtimeType → Type
- 
  A representation of the runtime type of the object. 
  read-only, inherited
Methods
- 
  loadTableSchema() → Future< void> 
- Loads the table schema from the database
- 
  addTable(String tableName, {DatabaseItem? item}) → Future< void> 
- Adds a table to the database
- 
  getItems(String table) → Future< List< Map< >String, dynamic> >
- 
  Gets all items from the database table
- 
  addColumn(String table, String columnName, String dataType) → Future< void> 
- 
  Adds a column with columnNameanddataTypeto atablein the database
- 
  deleteTable(String tableName) → dynamic 
- 
  Deletes the table with tableNamefrom the database
- 
  ensureDbOpen() → Future< void> 
- 
  Ensures that a databse connection is open before using db 
  inherited
- 
  updateTableSchema(String table, List< String> columns) → dynamic
- 
  Updates the schema 
  inherited
- 
  toString() → String 
- 
  A string representation of this object. [...]
  inherited
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a non-existent method or property is accessed. [...]
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator. [...]
  inherited