RelationshipOccurrence.fromJson constructor

RelationshipOccurrence.fromJson(
  1. Map _json
)

Implementation

RelationshipOccurrence.fromJson(core.Map _json)
    : this(
        comment: _json.containsKey('comment')
            ? _json['comment'] as core.String
            : null,
        source: _json.containsKey('source')
            ? _json['source'] as core.String
            : null,
        target: _json.containsKey('target')
            ? _json['target'] as core.String
            : null,
        type: _json.containsKey('type') ? _json['type'] as core.String : null,
      );