buildCallParameters method
Build call parameters using inputParameters
.
Implementation
Map<String, String> buildCallParameters(
Map<String, dynamic>? inputParameters) {
// ignore: omit_local_variable_types
Map<String, String> callParameters = {};
if (inputParameters == null || inputParameters.isEmpty) {
return callParameters;
}
for (var k in input) {
var val = inputParameters[k];
if (val != null) {
callParameters[k] = '$val';
}
}
return callParameters;
}