extension method
Extracts the extension (without the leading dot) of self.file_name, if possible.
Implementation
String extension() =>
isWindows ? WindowsPath(_string).extension() : UnixPath(_string).extension();
Extracts the extension (without the leading dot) of self.file_name, if possible.
String extension() =>
isWindows ? WindowsPath(_string).extension() : UnixPath(_string).extension();