ReplaceCodeStep class

ReplaceCodeStep is experimental and is not adviced for usage. 🚨

Replaces the user's CodeInput with a resulting CodeOutput.

A diff view of the changes is displayed within the editor with an option to accept or decline.

Inheritance
Annotations
  • @experimental

Constructors

ReplaceCodeStep({required CodeInput previousCode, required CodeOutput updatedCode, required BooleanOutput userAcceptDecision})

Properties

dashOutputs β†’ List<DashOutput>
no setteroverride
hashCode β†’ int
The hash code for this object.
no setterinherited
previousCode β†’ CodeInput
final
runtimeType β†’ Type
A representation of the runtime type of the object.
no setterinherited
updatedCode β†’ CodeOutput
final
userAcceptDecision β†’ BooleanOutput
final
version β†’ String
no setteroverride

Methods

noSuchMethod(Invocation invocation) β†’ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
process() β†’ Future<Map<String, dynamic>>
override
toString() β†’ String
A string representation of this object.
inherited

Operators

operator ==(Object other) β†’ bool
The equality operator.
inherited