InterpretedGenericType class

ghissues72: the runtimeType of an interpreted instance created with type arguments - Box<int>().runtimeType - which Dart prints as Box<int>.

The class and its arguments: equal to another of the same class with the same arguments, unequal to one with other arguments and to the class itself (Box<int>().runtimeType == Box is false in Dart, Box meaning Box<dynamic>). A native Type, as WrittenCollectionType is for a script's collection, so is Type, interpolation, toString() and use as a map key behave as for any type.

Implemented types

Constructors

InterpretedGenericType(InterpretedClass klass, List<RuntimeType> typeArguments)

Properties

hashCode → int
The hash code for this object.
no setteroverride
klass → InterpretedClass
The class.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
typeArguments → List<RuntimeType>
The type arguments the instance was created with.
final

Methods

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

Operators

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