Entity<PkType, Model extends Object> class
abstract
- Annotations
Constructors
- Entity()
Properties
- connection → String?
-
no setter
- createdAt ↔ DateTime?
-
getter/setter pair
- entityMeta → EntityMeta
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ PkType?
-
getter/setter pair
-
query
→ Query<
Model> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
to_db_data
→ Map<
String, dynamic> -
no setter
- updatedAt ↔ DateTime?
-
getter/setter pair
Methods
-
delete(
) → Future< void> -
hasMany<
RelatedModel extends Entity< (dynamic, Object> >{String? foreignKey}) → HasMany< RelatedModel> -
hasOne<
RelatedModel extends Entity< (dynamic, Object> >{String? foreignKey}) → HasOne< RelatedModel> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
) → Future< Model> -
toString(
) → String -
A string representation of this object.
inherited
-
withDriver(
DriverContract driver) → Model
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited