# nm 0.5.0

Provides a client to connect to NetworkManager - the service that manages network connections on Linux.




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'nm:0.5.0'
```
Published: 2022-02-08T01:37:16.117185Z
Expected archive SHA-256: 2c9aae4127bdc8993206464fcc063611e0e36e72018696cd9631023a31b24254

Available in cache; verification: upstream_checksum
## Direct dependencies
- dbus: ^0.7.0

## Package README (untrusted upstream documentation)
[![Pub Package](https://img.shields.io/pub/v/nm.svg)](https://pub.dev/packages/nm)
[![codecov](https://codecov.io/gh/canonical/nm.dart/branch/main/graph/badge.svg?token=6P72PJAA7F)](https://codecov.io/gh/canonical/nm.dart)

Provides a client to connect to [NetworkManager](https://gitlab.freedesktop.org/NetworkManager/NetworkManager) - the service that manages network connections on Linux.

```dart
import 'package:nm/nm.dart';

var client = NetworkManagerClient();
await client.connect();
print('Running NetworkManager ${client.version}');
await client.close();
```

## Contributing to nm.dart

We welcome contributions! See the [contribution guide](CONTRIBUTING.md) for more details.

## Changelog
# Changelog

## 0.5.0

* Fix constants not in camel case form.
* Require dbus 0.7.

## 0.4.4

* Only list as supporting Linux.

## 0.4.3

* Remove wrong assertions when activating WiFi connections with hidden access points.

## 0.4.2

* Add NetworkManagerClient.state.
* Fix device state reason.

## 0.4.1

* Add NetworkManagerClient.addAndActivateConnection().
* Improve test coverage.

## 0.4.0

* Fix detection of removed device/connection device when they re-appear.

## 0.3.0

* Add NetworkManagerClient.activate/deactivateConnection().
* Fix typo in NetworkManagerWifiAccessPointFlag, NetworkManagerWifiAccessPointSecurityFlag enum names.
* Reliably detect when an object is removed, rather than just some of its interfaces.
* Add more toString() methods for easier debugging.
* Use dbus 0.5.
* Rename test file so can just run 'dart test'.

## 0.2.0

* Various new API additions and fixes.
* Make device interface objects null if the interface is not present.
* Add equality operators to public classes.
* Replace setters with methods so they can be async.
* Added many more tests.

## 0.1.0

* Initial release







 
