cast2<TT extends Entity, TT2 extends Entity> method

JoinRecord<TT, TT2, D> cast2<TT extends Entity, TT2 extends Entity>()

Recasts this record using the T1 node and the T2 self types.

Implementation

JoinRecord<TT, TT2, D> cast2<TT extends Entity, TT2 extends Entity>() =>
    JoinRecord(node as TT, details, _self as TT2);