VMFunction class

A Dart function or method.

Inheritance
Implemented types

Properties

code VMCodeRef
The function's code.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
isConst bool
Whether this is a const function—that is, a const constructor.
final, inherited
isStatic bool
Whether this is a static function.
final, inherited
klass VMClassRef
This object's class, or null if this object wasn't allocated on the Dart heap. [...]
final
location VMSourceLocation
The location of this function in the source code.
final
name String
The name of this function.
final, inherited
observatoryUrl Uri
A relative URL for humans to inspect and possibly interact with this object in the Observatory UI. [...]
read-only, inherited
owner VMObjectRef
The owner of this function. [...]
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size int
The size (in bytes) of this object on the heap. [...]
final

Methods

addBreakpoint() Future<VMBreakpoint>
Adds a breakpoint at the entrypoint of this function. [...]
inherited
load() Future<VMFunction>
Loads a full version of this object. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited