wiz 0.0.2
wiz: ^0.0.2 copied to clipboard
A Dart connector for WiZ devices. the comunication between the wiz bulb and the local network is using UDP protocol. For async I/O this component uses async/await DatagramTransport, which allows compl [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add wizThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
wiz: ^0.0.2Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:wiz/wiz.dart';