NpmPackage class
NpmPackage represents an npm artifact.
Constructors
-
NpmPackage({String? createTime, String? name, String? packageName, List<
String> ? tags, String? updateTime, String? version}) - NpmPackage.fromJson(Map json_)
Properties
- createTime ↔ String?
-
Time the package was created.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
registry_location, project_id, repository_name and npm_package forms a
unique package For example,
"projects/test-project/locations/us-west4/repositories/test-repo/npmPackages/
npm_test:1.0.0", where "us-west4" is the registry_location, "test-project"
is the project_id, "test-repo" is the repository_name and npm_test:1.0.0"
is the npm package.
getter/setter pair
- packageName ↔ String?
-
Package for the artifact.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Tags attached to this package.
getter/setter pair
- updateTime ↔ String?
-
Time the package was updated.
getter/setter pair
- version ↔ String?
-
Version of this package.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited