RelationshipAttributes.fromJson constructor

RelationshipAttributes.fromJson(
  1. Map json_
)

Implementation

RelationshipAttributes.fromJson(core.Map json_)
    : this(
        action: json_.containsKey('action')
            ? json_['action'] as core.String
            : null,
        sourceResourceType: json_.containsKey('sourceResourceType')
            ? json_['sourceResourceType'] as core.String
            : null,
        targetResourceType: json_.containsKey('targetResourceType')
            ? json_['targetResourceType'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );