@@ -165,6 +165,12 @@ Use ClassElement.instantiate() or FunctionTypeAliasElement.instantiate()
165165 List <DartType > argumentTypes, List <DartType > parameterTypes);
166166}
167167
168+ /// The type `dynamic` is a type which is a supertype of all other types, just
169+ /// like `Object` , with the difference that the static analysis assumes that
170+ /// every member access has a corresponding member with a signature that
171+ /// admits the given access.
172+ abstract class DynamicType implements DartType {}
173+
168174/// The type of a function, method, constructor, getter, or setter. Function
169175/// types come in three variations:
170176///
@@ -551,6 +557,9 @@ abstract class InterfaceType implements ParameterizedType {
551557 InterfaceTypeImpl .getSmartLeastUpperBound (first, second);
552558}
553559
560+ /// The type `Never` represents the uninhabited bottom type.
561+ abstract class NeverType implements DartType {}
562+
554563/// A type that can track substituted type parameters, either for itself after
555564/// instantiation, or from a surrounding context.
556565///
@@ -601,3 +610,12 @@ abstract class TypeParameterType implements DartType {
601610 @override
602611 TypeParameterElement get element;
603612}
613+
614+ /// The special type `void` is used to indicate that the value of an
615+ /// expression is meaningless, and intended to be discarded.
616+ abstract class VoidType implements DartType {
617+ @override
618+ @deprecated
619+ VoidType substitute2 (
620+ List <DartType > argumentTypes, List <DartType > parameterTypes);
621+ }
0 commit comments