BasicEntityObject class abstract
Simplest of all entity's objects Entity that extends EntityObject with IntIdentifier and Converter
EXAMPLE: See BasicDomainObject for ParentDomain's example code.
class ParentEntity extends BasicEntityObject {
int id;
String name;
DateTime bornDay;
ParentEntity({required this.name, this.id = 0, DateTime? date})
: bornDay = date ?? DateTime.now();
}
- Inheritance
-
- Object
- EntityObject
- BasicEntityObject
- Mixed in types
Constructors
Properties
Methods
-
compareTo(
BasicEntityObject other) → int -
By default compare the two entities by it's id
override
-
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