parameterToString function
Format the given parameter object into a String.
Implementation
String parameterToString(dynamic value) {
if (value == null) {
return '';
}
if (value is DateTime) {
return value.toUtc().toIso8601String();
}
if (value is OwnCapability) {
return OwnCapabilityTypeTransformer().encode(value).toString();
}
return value.toString();
}