CodeModificationPlanRequest class
Request to generate a controlled code modification proposal.
Constructors
-
CodeModificationPlanRequest({required String requirement, String? targetScope, CodeModificationSafetyPolicy safetyPolicy = const CodeModificationSafetyPolicy(), List<
String> restrictedFileAllowlist = const []}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- requirement → String
-
Natural language description of the code change requirement.
final
-
restrictedFileAllowlist
→ List<
String> -
Specific file paths to restrict modification to (optional override).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- safetyPolicy → CodeModificationSafetyPolicy
-
Safety policy constraints (defaults to standard strict safety policy).
final
- targetScope → String?
-
Specific target file or component scope (optional).
final
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