DisassembledInstruction class

Represents a single disassembled instruction.

Constructors

DisassembledInstruction({required String address, int? column, int? endColumn, int? endLine, required String instruction, String? instructionBytes, int? line, Source? location, String? presentationHint, String? symbol})
DisassembledInstruction.fromMap(Map<String, Object?> obj)

Properties

address String
The address of the instruction. Treated as a hex value if prefixed with 0x, or as a decimal value otherwise.
final
column int?
The column within the line that corresponds to this instruction, if any.
final
endColumn int?
The end column of the range that corresponds to this instruction, if any.
final
endLine int?
The end line of the range that corresponds to this instruction, if any.
final
hashCode int
The hash code for this object.
no setterinherited
instruction String
Text representing the instruction and its operands, in an implementation-defined format.
final
instructionBytes String?
Raw bytes representing the instruction and its operands, in an implementation-defined format.
final
line int?
The line within the source location that corresponds to this instruction, if any.
final
location Source?
Source location that corresponds to this instruction, if any. Should always be set (if available) on the first instruction returned, but can be omitted afterwards if this instruction maps to the same source file as the previous instruction.
final
presentationHint String?
A hint for how to present the instruction in the UI.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbol String?
Name of the symbol that corresponds with the location of this instruction, if any.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

canParse(Object? obj) bool
fromJson(Map<String, Object?> obj) DisassembledInstruction