TypeArguments class Null safety
A TypeArguments
object represents the type argument vector for some
instantiated generic type.
- Inheritance
- Implemented types
Constructors
-
TypeArguments({String? name, List<
InstanceRef> ? types, required String id})
Properties
- classRef ↔ ClassRef?
- If an object is allocated in the Dart heap, it will have a corresponding class object.
- 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.
- hashCode → int
-
The hash code for this object.
read-onlyoverride
- id ↔ String?
-
A unique identifier for an Object. Passed to the getObject RPC to reload
this Object.
read / writeinherited
-
json
↔ Map<
String, dynamic> ? -
read / writeinherited
- name ↔ String?
-
A name for this type argument list.
read / writeoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- size ↔ int?
- The size of this object in the heap.
- type → String
-
read-onlyoverride
-
types
↔ List<
InstanceRef> ? -
A list of types.
read / write
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 ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
parse(
Map< String, dynamic> ? json) → TypeArguments? -
override