dashboardUrl property
String
get
dashboardUrl
Returns the URL where the dashboard is accessible.
Implementation
String get dashboardUrl {
if (Platform.isIOS) {
return 'http://localhost:3000 (simulator) or http://YOUR_MAC_IP:3000 (physical device)';
} else if (Platform.isAndroid) {
return 'http://10.0.2.2:3000 (emulator) or http://YOUR_MAC_IP:3000 (physical device)';
}
return 'http://localhost:${NetworkLoggerConfig.serverPort}';
}