RunMacro class

Runs a macro by a given name.

Implemented types
Annotations

Constructors

RunMacro(String name, dynamic macroArgv(Map), {bool preserveState = true})
Creates a new instance.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
macroArgv → dynamic Function(Map)
The arguments.
final
name String
Name of the macro.
final
preserveState bool
If we want to preserve the previous state. True by default.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createInstruction(TurtleState turtle, Map argv) List<Instruction>
Creates instructions.
override
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