fileName function
Returns the base file name for AssetId
.
Implementation
String fileName(AssetId id) {
var uri = _toAssetScheme(Uri.parse(toAssetUri(id)));
return uri.pathSegments.last;
}
Returns the base file name for AssetId
.
String fileName(AssetId id) {
var uri = _toAssetScheme(Uri.parse(toAssetUri(id)));
return uri.pathSegments.last;
}