Relationship constructor Null safety

Relationship(
  1. String id,
  2. String type,
  3. String related,
  4. Object attributes
)

Implementation

Relationship(this.id, this.type, this.related, this.attributes);