parseToUri<T> method
Implementation
@override
String parseToUri<T>(T? param) {
if (param == null) return '';
switch (T) {
case String:
return param as String;
case int:
return param.toString();
case double:
return (param as double).toStringAsFixed(2);
case bool:
return (param as bool).toString();
default:
return param.toString();
}
}