GrafeasV1beta1IntotoArtifact.fromJson constructor

GrafeasV1beta1IntotoArtifact.fromJson(
  1. Map _json
)

Implementation

GrafeasV1beta1IntotoArtifact.fromJson(core.Map _json)
    : this(
        hashes: _json.containsKey('hashes')
            ? ArtifactHashes.fromJson(
                _json['hashes'] as core.Map<core.String, core.dynamic>)
            : null,
        resourceUri: _json.containsKey('resourceUri')
            ? _json['resourceUri'] as core.String
            : null,
      );