import 'dart:io';
class ServerConstant {
static String serverURL =
Platform.isAndroid ? 'http://10.0.2.2:8000' : 'http://127.0.0.1:8000';
}
//These code clientSocketException connection refused error using usb cable for debugging suggested how to resolve this issue
New contributor
MAHANANDHA J is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.