HasOne<RelatedModel extends Entity<dynamic, Object>> class

Inheritance
Mixed in types

Constructors

HasOne(String foreignKey, Entity<dynamic, Object> _owner)

Properties

foreignKey String
final
hashCode int
The hash code for this object.
no setterinherited
owner Entity<dynamic, Object>
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete() Future<void>
override
get() Future<RelatedModel?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
orderByAsc(String field) HasOne<RelatedModel>
inherited
orderByDesc(String field) HasOne<RelatedModel>
inherited
set(RelatedModel model) Future<RelatedModel>
toString() String
A string representation of this object.
inherited

Operators

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