getPlatform static method
Returns the platform identifier string (e.g. "web", "ios", "windows", "macos", "linux").
Implementation
static String getPlatform() {
return _window?.getPlatform() ?? 'unknown';
}
Returns the platform identifier string (e.g. "web", "ios", "windows", "macos", "linux").
static String getPlatform() {
return _window?.getPlatform() ?? 'unknown';
}