optionalParameterTypes property
Return 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 will be iterated in the same order as the order in which the optional parameters were defined. If there were no optional parameters declared then the map will be empty.
Implementation
List<DartType> get optionalParameterTypes;