TypedLinkSpecifier.fromJson constructor
TypedLinkSpecifier.fromJson(
- Map<String, dynamic> json
)
Implementation
factory TypedLinkSpecifier.fromJson(Map<String, dynamic> json) {
return TypedLinkSpecifier(
identityAttributeValues: (json['IdentityAttributeValues'] as List)
.whereNotNull()
.map((e) => AttributeNameAndValue.fromJson(e as Map<String, dynamic>))
.toList(),
sourceObjectReference: ObjectReference.fromJson(
json['SourceObjectReference'] as Map<String, dynamic>),
targetObjectReference: ObjectReference.fromJson(
json['TargetObjectReference'] as Map<String, dynamic>),
typedLinkFacet: TypedLinkSchemaAndFacetName.fromJson(
json['TypedLinkFacet'] as Map<String, dynamic>),
);
}