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

Inheritance
Mixed in types

Constructors

HasMany(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

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

Operators

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