uri static method

Uri uri(
  1. String path, {
  2. Map<String, dynamic>? queryparams,
  3. String? serviceID,
})

Implementation

static Uri uri(String path, {Map<String, dynamic>? queryparams, String? serviceID}) {
  final manager = SessionManagerSDK();
  var location = manager.findServiceLocation(serviceID ?? _defaultServiceID);
  if (location == null) {
    throw ServiceLocationNotFoundErr("Servicio `$serviceID` no encontrado 🥺🥺");
  }
  return ApiService.parseUri(location, path, queryparams: queryparams);
}