getLinkPrefix function

String getLinkPrefix(
  1. String hostname,
  2. String domain
)

Implementation

String getLinkPrefix(String hostname, String domain) {
  final encodedHostname = Uri.encodeComponent(hostname);
  final encodedDomain = Uri.encodeComponent(domain);
  return '$machinePage$encodedHostname/$encodedDomain/';
}