HostPlatformTypeX extension

Host platform extension

on

Properties

isIO bool
Is I/O (vm, desktops, mobile, console)
no setter
isWeb bool
Is Web (html, js, browser)
no setter

Methods

when<HostPlatformTypeResult extends Object?>({required HostPlatformTypeResult io(), required HostPlatformTypeResult web()}) → HostPlatformTypeResult
Run callback on specific host platform