GenerationAction class
Individual action entry in a GenerationPlan.
Constructors
-
GenerationAction({required ActionType type, required String relativePath, required String absolutePath, String? textContent, List<
int> ? binaryContent, String? reason, String? sourceTemplateId}) -
Creates a GenerationAction instance.
const
Properties
- absolutePath → String
-
Full absolute target path.
final
-
binaryContent
→ List<
int> ? -
Raw byte contents for binary assets.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isBinary → bool
-
Returns true if this is a binary asset file.
no setter
- reason → String?
-
Explanation or reason for the action (e.g., skip reason).
final
- relativePath → String
-
Target relative path.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceTemplateId → String?
-
Source template ID producing this action for provenance auditing.
final
- textContent → String?
-
Text content for text files (null for directories or binary assets).
final
- type → ActionType
-
Type of action to perform.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited