getLocalFileNameForUrl static method
Implementation
static String getLocalFileNameForUrl(String url) {
String localFileName = "";
var parts = url.split("/");
if (parts.length > 0) {
localFileName = parts[parts.length - 1];
}
return localFileName;
}