FuncRef class

An FuncRef is a reference to a Func.



FuncRef({@required String name, @required dynamic owner, @required bool isStatic, @required bool isConst, @required String id})


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 load this Object.
read / write, inherited
isConst bool
Is this function const?
read / write
isStatic bool
Is this function static?
read / write
json Map<String, dynamic>
read / write, inherited
name String
The name of this function.
read / write
owner ↔ dynamic
The owner of this function, which can be a Library, Class, or a Function. [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
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


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 ==(dynamic other) bool
The equality operator. [...]

Static Methods

parse(Map<String, dynamic> json) FuncRef