Field class
A Field
provides information about a Dart language field or variable.
Constructors
Properties
- classRef ↔ ClassRef
-
If an object is allocated in the Dart heap, it will have a corresponding
class object. [...]
@optional, read / write, inherited
- declaredType ↔ InstanceRef
-
The declared type of this field. [...]
read / write, override
- fixedId ↔ bool
-
Provided and set to true if the id of an Object is fixed. If true, the id
of an Object is guaranteed not to change or expire. The object may,
however, still be Collected.
@optional, read / write, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, override
- id ↔ String
-
A unique identifier for an Object. Passed to the getObject RPC to reload
this Object. [...]
read / write, inherited
- isConst ↔ bool
-
Is this field const?
read / write, override
- isFinal ↔ bool
-
Is this field final?
read / write, override
- isStatic ↔ bool
-
Is this field static?
read / write, override
-
json
↔ Map<
String, dynamic> -
read / write, inherited
- location ↔ SourceLocation
-
The location of this field in the source code.
@optional, read / write
- name ↔ String
-
The name of this field.
read / write, override
- owner ↔ ObjRef
-
The owner of this field, which can be either a Library or a Class.
read / write, override
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- size ↔ int
-
The size of this object in the heap. [...]
@optional, read / write, inherited
- staticValue ↔ InstanceRef
-
The value of this field, if the field is static.
@optional, 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
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
override