ExportArtifactStep class final
Artifact export step for native builds.
Resolves declared artifact paths against the build output directory, copies them to the staging area, and returns a NativeStepResult containing a fully described BuiltNativeArtifact.
- Implemented types
Constructors
- ExportArtifactStep({required String id, required NativeArtifactDeclaration declaration})
-
const
-
ExportArtifactStep.fromMap(Map<
String, dynamic> map) -
Creates an ExportArtifactStep from a YAML-derived map.
factory
Properties
- declaration → NativeArtifactDeclaration
-
Declarative description of the artifact to export.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Step identifier.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
execute(
NativeBuildContext context, ResolvedSource source) → Future< NativeStepResult> -
Execute this build step.
override
-
fingerprint(
NativeStepContext context) → Future< NativeStepFingerprint> -
Compute a fingerprint for this step based on its inputs.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serialize this step to JSON.
override
-
toMap(
) → Map< String, dynamic> - Serializes this step to a map suitable for YAML output.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited