NpmPackage.fromJson constructor

NpmPackage.fromJson(
  1. Map json_
)

Implementation

NpmPackage.fromJson(core.Map json_)
    : this(
        packagePath: json_.containsKey('packagePath')
            ? json_['packagePath'] as core.String
            : null,
        repository: json_.containsKey('repository')
            ? json_['repository'] as core.String
            : null,
      );