RelInfo<SourceEntityT> class
Holds relation information for a field.
Constructors
- RelInfo.toMany(int id, int objectId)
-
Create info for a ToMany relation field.
const
- RelInfo.toManyBacklink(int id, int objectId)
-
Create info for a ToMany relation field backlink.
const
- RelInfo.toOneBacklink(int id, int objectId, ToOne srcFieldAccessor(SourceEntityT))
-
Create info for a ToOne relation field backlink.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Relation or property ID (latter if ToOne relation).
no setter
- objectId → int
-
Source or target object ID (latter if backlink).
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → RelType
-
Relation type.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toOneSourceField(
SourceEntityT object) → ToOne - Source field associated with this toOne relation backlink.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited