toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final architecture = this.architecture;
  final binarySourceInfo = this.binarySourceInfo;
  final binaryVersion = this.binaryVersion;
  final cpeUri = this.cpeUri;
  final dependencyChain = this.dependencyChain;
  final fileLocation = this.fileLocation;
  final hashDigest = this.hashDigest;
  final layerDetails = this.layerDetails;
  final licenses = this.licenses;
  final maintainer = this.maintainer;
  final os = this.os;
  final osVersion = this.osVersion;
  final package = this.package;
  final packageType = this.packageType;
  final patchedCve = this.patchedCve;
  final sourceVersion = this.sourceVersion;
  final unused = this.unused;
  final version = this.version;
  return {
    'architecture': ?architecture,
    'binarySourceInfo': ?binarySourceInfo,
    'binaryVersion': ?binaryVersion,
    'cpeUri': ?cpeUri,
    'dependencyChain': ?dependencyChain,
    'fileLocation': ?fileLocation,
    'hashDigest': ?hashDigest,
    'layerDetails': ?layerDetails,
    'licenses': ?licenses,
    'maintainer': ?maintainer,
    'os': ?os,
    'osVersion': ?osVersion,
    'package': ?package,
    'packageType': ?packageType,
    'patchedCve': ?patchedCve,
    'sourceVersion': ?sourceVersion,
    'unused': ?unused,
    'version': ?version,
  };
}