runPlatform top-level property
RunPlatform
get
runPlatform
this is a shorthand for AppInfoService.i.platform. Make sure to initialize AppInfoService before using this.
Implementation
RunPlatform get runPlatform => AppInfoService.i.platform;