formatUri static method
Implementation
static Uri formatUri(
String protocol,
String version,
String topic,
String symKey,
Relay relay,
) {
Map<String, String> params = formatRelayParams(relay);
params['symKey'] = symKey;
return Uri(
scheme: protocol, path: '$topic@$version', queryParameters: params);
}