Gets the file extension of path: the portion of basename from the last . to the end (including the . itself).
basename
.
String get extension => p.extension(path);