$Version class Null safety

Used by:

  • containeranalysis:v1 : Version
  • ondemandscanning:v1 : Version

Constructors

$Version({int? epoch, String? fullName, bool? inclusive, String? kind, String? name, String? revision})
$Version.fromJson(Map _json)

Properties

epoch int?
Used to correct mistakes in the version numbering scheme.
read / write
fullName String?
Human readable version string. [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
inclusive bool?
Whether this version is specifying part of an inclusive range. [...]
read / write
kind String?
Distinguishes between sentinel MIN/MAX versions and normal versions. [...]
read / write
name String?
Required only when version kind is NORMAL. [...]
read / write
revision String?
The iteration of the package build from the above version.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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