tableName property

String tableName

Name of table in database this entity maps to.

By default, the table will be named by the persistent type, 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 persistent type of a ManagedObject to return a String table name override this default.

Implementation

String get tableName {
  return _tableName;
}