HasMany<T extends DatumEntityInterface> class
Constructors
-
HasMany(RelationalDatumEntity parent, String foreignKey, {String localKey = 'id', List<
T> ? value, CascadeDeleteBehavior cascadeDeleteBehavior = CascadeDeleteBehavior.none})
Properties
- cascadeDeleteBehavior → CascadeDeleteBehavior
-
finalinherited
- foreignKey → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- localKey → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldCascadeDelete → bool
-
Returns true if this relation should cascade delete operations.
no setterinherited
- shouldRestrictDelete → bool
-
Returns true if this relation should restrict delete operations.
no setterinherited
- shouldSetNullOnDelete → bool
-
Returns true if this relation should set foreign keys to null.
no setterinherited
-
value
→ List<
T> ? -
no setteroverride
Methods
-
fetch(
) → Future< List< T> ?> -
getRelatedManager(
) → DatumManager< T> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set(
List< T> ? value) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited