Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 618 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 618 Bytes

harmony_os_version

pub package license

We use the harmony_os_version plugin to get harmony os version.

Usage

To use this plugin, add harmony_os_version as a dependency in your pubspec.yaml file. For example:

dependencies:
  harmony_os_version: ^1.0.0

Example

_xxx() async {
    String? osVersion = HarmonyOsVersion().osVersion();
    print(osVersion);
 }