fixPath property
fix the slashes in path by removing duplicates and replacing with the most common one for that platform
- For windows, it replaces all forward slashes with backslashes.
- For unix based systems, it replaces all backslashes with forward slashes.
- For web, it replaces all backslashes with forward slashes.
Implementation
string get fixPath => fixSlash(isNativeWindows);