Viewing version 0.3.0. Open the latest package page.
nm
0.3.0Provides a client to connect to NetworkManager - the service that manages network connections on Linux.
Readme
Provides a client to connect to NetworkManager - the service that manages network connections on Linux.
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 for more details.
Changelog
Changelog
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
Installing
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'nm:0.3.0'pubspec.yaml
name: nm
version: 0.3.0
description:
Provides a client to connect to NetworkManager - the service that manages network connections on Linux.
homepage: https://github.com/canonical/nm.dart
environment:
sdk: '>=2.12.0 <3.0.0'
dependencies:
dbus: ^0.5.0
dev_dependencies:
pedantic: ^1.9.0
test: ^1.16.8
Version history
| Version | Published | Archive | SHA-256 |
|---|---|---|---|
| 0.0.0-dev.1 | Cached · Upstream SHA-256 matched | Download | 3a615227…48656d |
| 0.0.0-dev.2 | Cached · Upstream SHA-256 matched | Download | 38872fee…022124 |
| 0.0.0-dev.3 | Cached · Upstream SHA-256 matched | Download | 474f5332…087605 |
| 0.0.0-dev.4 | Cached · Upstream SHA-256 matched | Download | 881f32e5…6d7a32 |
| 0.0.0-dev.5 | Cached · Upstream SHA-256 matched | Download | b301ec95…bafb6f |
| 0.0.0-dev.6 | Cached · Upstream SHA-256 matched | Download | 7fb1e671…146357 |
| 0.1.0 | Cached · Upstream SHA-256 matched | Download | ff80e286…7af4c2 |
| 0.2.0 | Cached · Upstream SHA-256 matched | Download | 6d732ec1…2bd957 |
| 0.3.0 | Cached · Upstream SHA-256 matched | Download | b47776ec…6e3a0e |
| 0.4.0 | Cached · Upstream SHA-256 matched | Download | 86321363…d542d8 |
| 0.4.1 | Cached · Upstream SHA-256 matched | Download | 60e36fb5…639241 |
| 0.4.2 | Cached · Upstream SHA-256 matched | Download | 8a2a2f24…d332b3 |
| 0.4.3 | Cached · Upstream SHA-256 matched | Download | e62869cf…8912b4 |
| 0.4.4 | Cached · Upstream SHA-256 matched | Download | 94e12492…8d6d56 |
| 0.5.0 | Cached · Upstream SHA-256 matched | Download | 2c9aae41…b24254 |
| 0.6.0 | Cached · Upstream SHA-256 matched | Download | 2ae480aa…0786e6 |
Dependencies
dbus "^0.5.0"