ProgramRelationship.fromJson constructor
Implementation
factory ProgramRelationship.fromJson(Map<String, dynamic> json) {
return ProgramRelationship(
id: json['id'],
name: json['name'],
displayName: json['displayName'],
fromProgram: json['fromProgram'] ?? json['fromConstraint']['program']['id'],
toProgram: json['toProgram'] ?? json['toConstraint']['program']['id'],
dirty: json['dirty']);
}