KClassifier class abstract interface

A classifier is either a class or a type parameter.

Implementers
Available extensions

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
starProjectedType KType

Available on KClassifier, provided by the KClassifierExtension extension

Creates an instance of KType with the given classifier, substituting all its type parameters with star projections.
no setter

Methods

createType({List<KTypeProjection> arguments = const [], List<Annotation> annotations = const [], Boolean nullable = false}) KType

Available on KClassifier, provided by the KClassifierExtension extension

Creates a KType instance with the given classifier, type arguments, nullability and annotations.
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