Reference.fromJson constructor

Reference.fromJson(
  1. Map json_
)

Implementation

Reference.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        referenceType: json_.containsKey('referenceType')
            ? json_['referenceType'] as core.String
            : null,
        referrer: json_.containsKey('referrer')
            ? json_['referrer'] as core.String
            : null,
        target: json_.containsKey('target')
            ? json_['target'] as core.String
            : null,
      );