homeDir function
Get the user HOME directory if possible.
Implementation
String? homeDir() => Platform.isWindows
? Platform.environment['USERPROFILE']
: Platform.environment['HOME'];
Get the user HOME directory if possible.
String? homeDir() => Platform.isWindows
? Platform.environment['USERPROFILE']
: Platform.environment['HOME'];