fileName property
String
get
fileName
What the upload calls the file. The server keys its format sniffing on the name, never on the path it came from.
Implementation
String get fileName => p.basename(path);