getCustomUri function

Uri getCustomUri (
  1. ParseClient client,
  2. String path,
  3. {Map<String, dynamic> queryParams,
  4. String query}
)

Sanitises a url

Implementation

Uri getCustomUri(ParseClient client, String path,
    {Map<String, dynamic> queryParams, String query}) {
  final Uri tempUri = Uri.parse(ParseCoreData().serverUrl);

  final Uri url = Uri(
      scheme: tempUri.scheme,
      host: tempUri.host,
      port: tempUri.port,
      path: path,
      queryParameters: queryParams,
      query: query);

  return url;
}