String toPosix([bool quoted = false]) { if (Platform.isWindows) { final result = replaceAll('\\', '/'); return quoted ? "'$result'" : result; } return this; }