getSystemUserName function
Get the logged in username in the machine.
Implementation
String? getSystemUserName() =>
Platform.environment['USER'] ?? // Linux/macOS
Platform.environment['USERNAME'];
Get the logged in username in the machine.
String? getSystemUserName() =>
Platform.environment['USER'] ?? // Linux/macOS
Platform.environment['USERNAME'];