isOhos property

bool isOhos
final

Whether the operating system is a version of ohos.

Implementation

static final isOhos = Platform.operatingSystem == 'ohos';