fromJson static method
Implementation
static Relation fromJson(Map json) => Relation(
name: json['name'] as String,
label: Label.fromJson(
json['label'] as Map,
RelationLabel.values,
RelationLabel.other,
),
metadata: JsonHelpers.decode(json['metadata'], PropertyMetadata.fromJson),
);