buildSubstitutionValues method
Map<String, dynamic>
buildSubstitutionValues(
)
override
Implementation
@override
Map<String, dynamic> buildSubstitutionValues() {
final result = <String, dynamic>{};
if (mWheres.isEmpty) {
return result;
}
for (var item in mWheres) {
if (item.type == WhereType.safe) {
var v = item.param; //Validator.formatValue(item.param, mOptions);
/* var substitutionValue = item.text;
if (item?.text?.startsWith('"') == true) {
substitutionValue = substitutionValue.substring(1).substring(0, substitutionValue.length - 2);
}*/
var substitutionValue = _getSubstitutionValue(item.text);
result.addAll({'$substitutionValue': '$v'});
}
}
return result;
}