Entity<T> class abstract

Implementers

Constructors

Entity(int id)

Properties

fields FieldList
List of fields for this entity Do NOT return the identity.
no setter
hashCode int
The hash code for this object.
no setterinherited
id int
The primary key of the entity Your table MUST have an auto increment field called 'id' which is the primary key.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values ValueList
Values must be in the same order as fields Do NOT return the identity
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

notSet → const int
Used to initialise the id of an entity that has yet to be persisted.