reVal method
dynamic
reVal(
- dynamic value
Implementation
dynamic reVal(dynamic value) {
if (value is String) {
if (value.isEmpty) {
return '';
}
return value.replaceAll("\"", "'").replaceAll("'", "\\'");
} else {
return value.toString();
}
}