Relationship constructor Null safety

Relationship(
  1. String id,
  2. String type
)

Implementation

Relationship(this.id, this.type);