WakeOnLAN class

Constructors

WakeOnLAN(IPAddress ip, MACAddress mac, {SecureONPassword? password, int port = 9})
Creates WakeOnLAN from an IPAddress, MACAddress and optionally a SecureONPassword and port.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
ipAddress IPAddress
final
macAddress MACAddress
final
port int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secureOnPassword SecureONPassword?
final

Methods

magicPacket() List<int>
Assembles the magic packet for wake-on-LAN functionality.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
wake({int repeat = 1, Duration repeatDelay = const Duration(milliseconds: 100)}) Future<void>
Sends the Wake-on-LAN packet.

Operators

operator ==(Object other) bool
The equality operator.
inherited