CallableGenericTypeAliasElementType class

A Callable generic type alias that may or may not have a name.

Inheritance
Mixed in types

Constructors

CallableGenericTypeAliasElementType(FunctionType t, Library library, PackageGraph packageGraph, ModelElement element, ElementType returnedFrom)

Properties

canHaveParameters bool
read-only, inherited
element ModelElement
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
instantiatedType DartType
Return this type, instantiated to bounds if it isn't already.
read-only, override
isParameterType bool
read-only, inherited
isPublic bool
This type is a public type if the underlying, canonical element is public. This avoids discarding the resolved type information as canonicalization would ordinarily do.
read-only, inherited
isTypedef bool
read-only, inherited
library Library
final, inherited
linkedName String
read-only, inherited
name String
read-only, inherited
nameWithGenerics String
Name with generics and nullability indication.
read-only, inherited
nullabilitySuffix String
Return a dartdoc nullability suffix for this type.
read-only, inherited
packageGraph PackageGraph
final, inherited
parameters List<Parameter>
read-only, inherited
returnedFrom ElementType
final, inherited
returnElement ModelElement
read-only, override
returnType ElementType
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type FunctionType
read-only, inherited
typeArguments Iterable<ElementType>
read-only, inherited

Methods

createLinkedReturnTypeName() String
inherited
isBoundSupertypeTo(ElementType t) bool
Returns true if at least one supertype (including via mixins and interfaces) is equivalent to or a subtype of this when instantiated to bounds.
inherited
isSubtypeOf(ElementType t) bool
The instantiated to bounds type of this type is a subtype of t.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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