SourceReference.fromJson constructor

SourceReference.fromJson(
  1. Map _json
)

Implementation

SourceReference.fromJson(core.Map _json)
    : this(
        repository: _json.containsKey('repository')
            ? _json['repository'] as core.String
            : null,
        revisionId: _json.containsKey('revisionId')
            ? _json['revisionId'] as core.String
            : null,
      );