parameters property
Implementation
Map<String?, String> get parameters {
Map<String?, String> myParameters = <String?, String>{};
List<dynamic>? variables = findDescendantsOfExactType(VariableModel);
for (var variable in variables) {
VariableModel v = (variable as VariableModel);
if (!isNullOrEmpty(v.returnas)) {
String? name = v.returnas;
String value = v.value ?? "";
myParameters[name] = value;
}
}
return myParameters;
}