PlatformResolver typedef
PlatformResolver =
String? Function()
Platform resolver (issue #2066): returns the host operating system
(e.g. macos, ios) or null when unavailable. Apps wire
Platform.operatingSystem here; tests wire an explicit value.
Implementation
typedef PlatformResolver = String? Function();