tableName property

String get tableName

Name of table in database this entity maps to.

By default, the table will be named by the table definition, e.g., a managed object declared as so will have a tableName of '_User'.

  class User extends ManagedObject<_User> implements _User {}
  class _User { ... }

You may implement the static method tableName on the table definition of a ManagedObject to return a String table name override this default.

Implementation

String get tableName {
  return _tableName;
}