fileFullName property
String
get
fileFullName
Gets the complete file name including the extension.
Returns the full file name with its extension. For example, if the file path is '/home/user/document.pdf', this returns 'document.pdf'.
Example:
final file = File('/uploads/avatar.jpg');
print(file.fileFullName); // 'avatar.jpg'
Implementation
String get fileFullName {
return p.basename(path);
}