getHostUri static method

Uri getHostUri(
  1. String path, [
  2. Map<String, dynamic>? queryParameters
])

Implementation

static Uri getHostUri(
  String path, [
  Map<String, dynamic>? queryParameters,
]) {
  if (BytedeskConstants.isDebug) {
    return Uri.http(BytedeskConstants.httpBaseUrl, path, queryParameters);
  } else {
    return Uri.https(BytedeskConstants.httpBaseUrl, path, queryParameters);
  }
}