relationship property
Relationship
get
relationship
Returns this data as Relationship.
Make sure to check if this object is Relationship with isRelationship.
Implementation
Relationship get relationship => this.data as Relationship;