discoveryURL method
URL to guild's splash. If guild doesn't have splash it returns null.
Implementation
String? discoveryURL({String format = "webp", int size = 128}) {
if (this.discoveryHash != null) {
return "https://cdn.${Constants.cdnHost}/discovery-splashes/$id/$discoveryHash.$format?size=$size";
}
return null;
}