WifiDppContent class final

A Wi-Fi Easy Connect (DPP) bootstrapping code: DPP:K:…;; on a router or a smart device, which a phone scans to put the device on its network.

Only parsed: the code is made by the device. toPayload returns raw.

Inheritance

Constructors

WifiDppContent({required String publicKey, required String raw, String? channels, String? macAddress, String? information})
Creates Wi-Fi Easy Connect content.
const

Properties

channels → String?
Operating classes and channels the device listens on (C:81/1,117/40).
final
hashCode → int
The hash code for this object.
no setteroverride
information → String?
Free text from the manufacturer, such as a serial number (I:).
final
macAddress → String?
The device's MAC address (M:), as written.
final
publicKey → String
The device's public key (K:), Base64.
final
raw → String
The code as read.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uri → Uri?
A link that opens this content in the app made for it, for launchUrl of package:url_launcher; null when there is none.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toPayload() → String
raw, the code as read.
override
toString() → String
A string representation of this object.
override
validate() → List<ContentIssue>
The problems that keep toPayload from building this value, such as an empty network name or a latitude out of range. Empty when the value can be built. For forms: show each ContentIssue.message next to its ContentIssue.field.
override

Operators

operator ==(Object other) → bool
The equality operator.
override