TypeIdentifier class

Represents a type, as for example used in a parameter. Return types use the same class, although they have no name.

Constructors

TypeIdentifier(BaseType baseType, [String name = '', TypeDef? type])
TypeIdentifier.fromValue(int corElementTypeValue)
Creates a type identifier object matching a specific element type value.
factory

Properties

arrayDimensions List<int>?
The dimensions of the contained array, if there is one.
getter/setter pair
baseType BaseType
Underlying base type represented by this class.
getter/setter pair
genericParameterSequence int?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the type (for example, Windows.Storage.IStorageFile or LPWSTR), if it is not a primitive type.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type TypeDef?
The class or interface, if the type is (for example) BaseType.ClassTypeModifier.
getter/setter pair
typeArg TypeIdentifier?
Any arguments (for example, the Uint16 in a Pointer<Uint16>).
getter/setter pair

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.
inherited