toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'attestation': attestation.toMap(),
    'build': build.toMap(),
    'createTime': createTime,
    'deployment': deployment.toMap(),
    'derivedImage': derivedImage.toMap(),
    'discovered': discovered.toMap(),
    'envelope': envelope.toMap(),
    'installation': installation.toMap(),
    'intoto': intoto.toMap(),
    'kind': kind,
    'name': name,
    'noteName': noteName,
    'remediation': remediation,
    'resource': resource.toMap(),
    'sbom': sbom.toMap(),
    'sbomReference': sbomReference.toMap(),
    'spdxFile': spdxFile.toMap(),
    'spdxPackage': spdxPackage.toMap(),
    'spdxRelationship': spdxRelationship.toMap(),
    'updateTime': updateTime,
    'vulnerability': vulnerability.toMap(),
  };
}