prepareExternalUrl method

  1. @override
String prepareExternalUrl(
  1. String internal
)
override

Implementation

@override
String prepareExternalUrl(String internal) {
  if (internal.startsWith('/') && internalBaseHref.endsWith('/')) {
    return internalBaseHref + internal.substring(1);
  }
  return internalBaseHref + internal;
}