toJson method
Implementation
Map<String, dynamic> toJson() {
final data = new Map<String, dynamic>();
data['id'] = this.id;
data['fromTrackedInstance'] = this.fromTrackedInstance;
data['toTrackedInstance'] = this.toTrackedInstance;
data['relationshipType'] = this.relationshipType;
data['created'] = this.created;
data['lastUpdated'] = this.lastUpdated;
data['dirty'] = this.dirty;
return data;
}