JoinRecord<T1 extends Entity, T2 extends Entity, D extends JoinRecordData> class
Represents a join between records which also contains properties about the relationship. property node The target entity that's referenced property self The
Constructors
- JoinRecord.new(T1 node, D details, [T2? _self])
- JoinRecord.fromJson(dynamic json)
-
factory
Properties
Methods
-
cast<
TT extends Entity> () → JoinRecord< TT, T2, D> -
Recasts this record using the
T1
node type. -
cast2<
TT extends Entity, TT2 extends Entity> () → JoinRecord< TT, TT2, D> -
Recasts this record using the
T1
node and theT2
self types. -
flip(
) → JoinRecord< T2, T1, D> - Flips this record so that the 'self' is in the 'node' position, and vice versa.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited