# nm 0.4.3

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.4.3'
```
Published: 2022-01-30T23:17:01.523669Z
Expected archive SHA-256: e62869cf2065625e77ba43552748229b2c9e7bdb3221efc5cf199c1db68912b4

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

## 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.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







 
