BoundVariable class

A BoundVariable represents a local variable bound to a particular value in a Frame.

If the variable is uninitialized, the value will be the NotInitialized Sentinel.

If the variable is being initialized, the value will be the BeingInitialized Sentinel.

If the variable has been optimized out by the compiler, the value will be the OptimizedOut Sentinel.



BoundVariable({@required String name, @required dynamic value, @required int declarationTokenPos, @required int scopeStartTokenPos, @required int scopeEndTokenPos})


declarationTokenPos int
The token position where this variable was declared.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
json Map<String, dynamic>
read / write, inherited
name String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scopeEndTokenPos int
The last token position where this variable is visible to the scope.
read / write
scopeStartTokenPos int
The first token position where this variable is visible to the scope.
read / write
type String
Every response returned by the VM Service has the type property. This allows the client distinguish between different kinds of responses.
read / write, inherited
value ↔ dynamic
value can be one of InstanceRef, TypeArgumentsRef or Sentinel.
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]

Static Methods

parse(Map<String, dynamic> json) BoundVariable