RelInfo<SourceEntityT> class Null safety

Holds relation information for a field.

Constructors

RelInfo.toMany(int id, int objectId)
Create info for a ToMany relation field.
const
Create info for a ToMany relation field backlink.
const
Create info for a ToOne relation field backlink.
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
id int
Relation or property ID (latter if ToOne relation).
read-only
objectId int
Source or target object ID (latter if backlink).
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type RelType
Relation type.
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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