ExternalRef.fromJson constructor

ExternalRef.fromJson(
  1. Map _json
)

Implementation

ExternalRef.fromJson(core.Map _json)
    : this(
        category: _json.containsKey('category')
            ? _json['category'] as core.String
            : null,
        comment: _json.containsKey('comment')
            ? _json['comment'] as core.String
            : null,
        locator: _json.containsKey('locator')
            ? _json['locator'] as core.String
            : null,
        type: _json.containsKey('type') ? _json['type'] as core.String : null,
      );