isFuchsia 属性

bool isFuchsia
final

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

实现

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