Distribution.fromJson constructor
Distribution.fromJson(
- Map _json
Implementation
Distribution.fromJson(core.Map _json)
: this(
architecture: _json.containsKey('architecture')
? _json['architecture'] as core.String
: null,
cpeUri: _json.containsKey('cpeUri')
? _json['cpeUri'] as core.String
: null,
description: _json.containsKey('description')
? _json['description'] as core.String
: null,
latestVersion: _json.containsKey('latestVersion')
? Version.fromJson(
_json['latestVersion'] as core.Map<core.String, core.dynamic>)
: null,
maintainer: _json.containsKey('maintainer')
? _json['maintainer'] as core.String
: null,
url: _json.containsKey('url') ? _json['url'] as core.String : null,
);