getAbsolutePath method
Get a unique absolute normalized path.
Implementation
@override
String getAbsolutePath({String key = '', String? dirName, String? fileName}) {
final normalized =
super.getAbsolutePath(key: key, dirName: dirName, fileName: fileName);
if (Platform.isWindows && normalized.startsWith('/')) {
return normalized.substring(1);
} else {
return normalized;
}
}