fileName property
String
get
fileName
Implementation
String get fileName {
try {
final path = Uri.parse(this).path;
return path.substring(path.lastIndexOf('/') + 1);
} catch (e) {
if (kDebugMode) {
print(e);
}
return '';
}
}