FullType class

A Type with, optionally, FullType generic type parameters.

May also be unspecified, indicating that no type information is available.

Constructors

FullType(Type? root, [List<FullType> parameters = const []])
const
FullType.nullable(Type? root, [List<FullType> parameters = const []])
const

Properties

hashCode int
The hash code for this object.
no setteroverride
isUnspecified bool
no setter
nullable bool
Whether the type is nullable.
final
parameters List<FullType>
Type parameters of the type.
final
root Type?
The root of the type.
final
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.
override
withNullability(bool nullability) FullType

Operators

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

Constants

object → const FullType
The Object type.
unspecified → const FullType
An unspecified type.