prepareExternalUrl method Null safety
- String internalUrl
override
Given a path that's internal to the app, create the external url that will be used in the browser.
Implementation
@override
String prepareExternalUrl(String internalUrl) {
if (internalUrl.isNotEmpty && !internalUrl.startsWith('/')) {
internalUrl = '/$internalUrl';
}
return '$_basePath$internalUrl';
}