Package.fromJson constructor

Package.fromJson(
  1. Map json_
)

Implementation

Package.fromJson(core.Map json_)
    : this(
        cpeUri: json_.containsKey('cpeUri')
            ? json_['cpeUri'] as core.String
            : null,
        packageName: json_.containsKey('packageName')
            ? json_['packageName'] as core.String
            : null,
        packageType: json_.containsKey('packageType')
            ? json_['packageType'] as core.String
            : null,
        packageVersion: json_.containsKey('packageVersion')
            ? json_['packageVersion'] as core.String
            : null,
      );