$VersionedPackage.fromJson constructor

$VersionedPackage.fromJson(
  1. Map json_
)

Implementation

$VersionedPackage.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,
      );