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, List<
int> ? arrayDimensions, int? genericParameterSequence, TypeIdentifier? typeArg}) -
const
Properties
-
arrayDimensions
→ List<
int> ? -
The dimensions of the contained array, if there is one.
final
- baseType → BaseType
-
Underlying base type represented by this class.
final
- genericParameterSequence → int?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the type (for example,
Windows.Storage.IStorageFile
orLPWSTR
), if it is not a primitive type.final - 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.
final
- typeArg → TypeIdentifier?
-
Any arguments (for example, the
Uint16
in aPointer<Uint16>
).final
Methods
-
copyWith(
{List< int> ? arrayDimensions, BaseType? baseType, int? genericParameterSequence, String? name, TypeDef? type, TypeIdentifier? typeArg}) → TypeIdentifier -
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