getPublicUrl method

String getPublicUrl([
  1. String? locale
])

Get a public feedback page URL for this client.

locale - Optional locale for the page Returns the public URL

Implementation

String getPublicUrl([String? locale]) {
  final localePrefix = locale != null && locale.isNotEmpty ? '/$locale' : '';
  return '$_apiUrl$localePrefix/c/$_clientId';
}