isFuchsia 属性

bool isFuchsia
final

操作系统是否为 Fuchsia 的版本。

实现

@pragma("vm:platform-const")
static final bool isFuchsia = (operatingSystem == "fuchsia");