InventoryVersionedPackage.fromJson constructor

InventoryVersionedPackage.fromJson(
  1. Map _json
)

Implementation

InventoryVersionedPackage.fromJson(core.Map _json)
    : this(
        architecture: _json.containsKey('architecture')
            ? _json['architecture'] as core.String
            : null,
        packageName: _json.containsKey('packageName')
            ? _json['packageName'] as core.String
            : null,
        version: _json.containsKey('version')
            ? _json['version'] as core.String
            : null,
      );