l2ethernet 0.3.1 l2ethernet: ^0.3.1 copied to clipboard
Sending raw Ethernet frames in Dart via FFI. Usable for generating WOL packets or non-standard protocols running on Ethernet. Sending only. Linux only.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add l2ethernet
With Flutter:
$ flutter pub add l2ethernet
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
l2ethernet: ^0.3.1
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:l2ethernet/l2ethernet.dart';