imageCorsProxyUrl property
The URL of the CORS proxy for this image URL.
Implementation
String get imageCorsProxyUrl {
return isDev
? "https://europe-west1-aegee-leiden-app-dev.cloudfunctions.net/corsImage?url=${Uri.encodeComponent(this)}"
: "https://europe-west1-aegee-leiden-app.cloudfunctions.net/corsImage?url=${Uri.encodeComponent(this)}";
}