orderedVariableNames property Null safety

List<String> orderedVariableNames
read / write

An ordered list of variable names (the keys in variables) based on their position in the path.

If no path variables are present in the request, this list is empty. Only path variables that are available for the specific request are in this list. For example, if a route has two path variables, but the incoming request this RequestPath represents only has one variable, only that one variable will appear in this property.

Implementation

List<String> orderedVariableNames = [];