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.host, path, queryParameters);
  } else {
    return Uri.https(BytedeskConstants.host, path, queryParameters);
  }
}