ResourceType class
Resource is an entity that can have metadata. E.g., a Docker image.
Constructors
-
ResourceType({Input<
Hash> ? contentHash, Input<String> ? name, Input<String> ? uri}) -
Creates a new ResourceType.
contentHashThe hash of the resource content. E.g., the Docker digest.nameThe name of the resource. E.g., the name of a Docker image - "Debian".uriThe unique URI of the resource. E.g., "https://gcr.io/project/image@sha256:foo" for a Docker image.const -
ResourceType.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
contentHash
→ Input<
Hash> ? -
The hash of the resource content. E.g., the Docker digest.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String> ? -
The name of the resource. E.g., the name of a Docker image - "Debian".
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
uri
→ Input<
String> ? -
The unique URI of the resource. E.g., "https://gcr.io/project/image@sha256:foo" for a Docker image.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited