ClassRef class

ClassRef is a reference to a Class.

Inheritance
Implementers

Constructors

ClassRef({String? name, LibraryRef? library, required String id, SourceLocation? location, List<InstanceRef>? typeParameters})

Properties

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.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setteroverride
id String?
A unique identifier for an Object. Passed to the getObject RPC to load this Object.
getter/setter pairinherited
json Map<String, dynamic>?
getter/setter pairinherited
library LibraryRef?
The library which contains this class.
getter/setter pair
location SourceLocation?
The location of this class in the source code.
getter/setter pair
name String?
The name of this class.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
no setteroverride
typeParameters List<InstanceRef>?
The type parameters for the class.
getter/setter pair

Methods

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

Operators

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

Static Methods

parse(Map<String, dynamic>? json) ClassRef?
override