TypeKind enum

Defines the kind of a reflected type within the JetLeaf reflection system.

This enum is used by TypeDeclaration and related APIs to describe what kind of Dart type a given type represents. It enables consistent introspection and classification of Dart types during reflection.

Inheritance
Available extensions

Values

classType → const TypeKind

Defines the kind of a reflected type within the JetLeaf reflection system.

This enum is used by TypeDeclaration and related APIs to describe what kind of Dart type a given type represents. It enables consistent introspection and classification of Dart types during reflection.

Represents a standard Dart class or interface type.

enumType → const TypeKind

Defines the kind of a reflected type within the JetLeaf reflection system.

This enum is used by TypeDeclaration and related APIs to describe what kind of Dart type a given type represents. It enables consistent introspection and classification of Dart types during reflection.

Represents an enum declaration in Dart.

typedefType → const TypeKind

Defines the kind of a reflected type within the JetLeaf reflection system.

This enum is used by TypeDeclaration and related APIs to describe what kind of Dart type a given type represents. It enables consistent introspection and classification of Dart types during reflection.

Represents a typedef, either for functions or types.

listType → const TypeKind

Defines the kind of a reflected type within the JetLeaf reflection system.

This enum is used by TypeDeclaration and related APIs to describe what kind of Dart type a given type represents. It enables consistent introspection and classification of Dart types during reflection.

Represents a List<T> or any subtype of List.

mapType → const TypeKind

Defines the kind of a reflected type within the JetLeaf reflection system.

This enum is used by TypeDeclaration and related APIs to describe what kind of Dart type a given type represents. It enables consistent introspection and classification of Dart types during reflection.

Represents a Map<K, V> or any subtype of Map.

functionType → const TypeKind

Defines the kind of a reflected type within the JetLeaf reflection system.

This enum is used by TypeDeclaration and related APIs to describe what kind of Dart type a given type represents. It enables consistent introspection and classification of Dart types during reflection.

Represents a function type such as void Function(int).

recordType → const TypeKind

Defines the kind of a reflected type within the JetLeaf reflection system.

This enum is used by TypeDeclaration and related APIs to describe what kind of Dart type a given type represents. It enables consistent introspection and classification of Dart types during reflection.

Represents a record type such as (int, String).

primitiveType → const TypeKind

Defines the kind of a reflected type within the JetLeaf reflection system.

This enum is used by TypeDeclaration and related APIs to describe what kind of Dart type a given type represents. It enables consistent introspection and classification of Dart types during reflection.

Represents primitive Dart types such as int, double, bool, or String.

collectionType → const TypeKind

Defines the kind of a reflected type within the JetLeaf reflection system.

This enum is used by TypeDeclaration and related APIs to describe what kind of Dart type a given type represents. It enables consistent introspection and classification of Dart types during reflection.

Represents a Collection or any subtype of Collection.

asyncType → const TypeKind

Defines the kind of a reflected type within the JetLeaf reflection system.

This enum is used by TypeDeclaration and related APIs to describe what kind of Dart type a given type represents. It enables consistent introspection and classification of Dart types during reflection.

Represents a Async or any subtype of Async.

metaType → const TypeKind

Defines the kind of a reflected type within the JetLeaf reflection system.

This enum is used by TypeDeclaration and related APIs to describe what kind of Dart type a given type represents. It enables consistent introspection and classification of Dart types during reflection.

Represents a Meta or any subtype of Meta.

dynamicType → const TypeKind

Defines the kind of a reflected type within the JetLeaf reflection system.

This enum is used by TypeDeclaration and related APIs to describe what kind of Dart type a given type represents. It enables consistent introspection and classification of Dart types during reflection.

Represents Dart’s dynamic type.

voidType → const TypeKind

Defines the kind of a reflected type within the JetLeaf reflection system.

This enum is used by TypeDeclaration and related APIs to describe what kind of Dart type a given type represents. It enables consistent introspection and classification of Dart types during reflection.

Represents Dart’s void type.

typeVariable → const TypeKind

Defines the kind of a reflected type within the JetLeaf reflection system.

This enum is used by TypeDeclaration and related APIs to describe what kind of Dart type a given type represents. It enables consistent introspection and classification of Dart types during reflection.

Represents a type variable, such as T in a generic class declaration.

mixinType → const TypeKind

Defines the kind of a reflected type within the JetLeaf reflection system.

This enum is used by TypeDeclaration and related APIs to describe what kind of Dart type a given type represents. It enables consistent introspection and classification of Dart types during reflection.

Represents a Dart mixin.

unknownType → const TypeKind

Defines the kind of a reflected type within the JetLeaf reflection system.

This enum is used by TypeDeclaration and related APIs to describe what kind of Dart type a given type represents. It enables consistent introspection and classification of Dart types during reflection.

Represents a type that could not be resolved or identified.

typedData → const TypeKind

Defines the kind of a reflected type within the JetLeaf reflection system.

This enum is used by TypeDeclaration and related APIs to describe what kind of Dart type a given type represents. It enables consistent introspection and classification of Dart types during reflection.

Represents a type that is a subtype of TypedData.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Constants

values → const List<TypeKind>
A constant List of the values in this enum, in order of their declaration.