optionalParameterTypes property

List<DartType> optionalParameterTypes

A map from the names of optional (positional) parameters to the types of the optional parameters of this type of function.

The entries in the map are not necessarily iterated in the same order as the order in which the optional parameters are defined. If there area no optional parameters declared, then the map is empty.

Implementation

List<DartType> get optionalParameterTypes;