WifiDatum class

A Datum that holds wifi connectivity status in terms of connected SSID and BSSID.

Note that it wifi information cannot be collected on emulators.

Inheritance
Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)

Constructors

WifiDatum({String? ssid, String? bssid, String? ip})
WifiDatum.fromJson(Map<String, dynamic> json)
factory

Properties

bssid String?
The basic service set identifier (BSSID) of the connected network
getter/setter pair
format ↔ DataFormat
The DataFormat of this type of Datum.
getter/setter pairinherited-setteroverride-getter
hashCode int
The hash code for this object.
no setterinherited
id String?
An identifier for this Datum, unique across all data generated. If this datum is part of a MultiDatum, then this id is null.
getter/setter pairinherited
ip String?
The internet protocol (IP) address of the connected network
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ssid String?
The wifi service set ID (SSID) of the connected network
getter/setter pair
timestamp DateTime
The UTC timestamp when this data was generated on the device.
getter/setter pairinherited

Methods

equivalentTo(ConditionalEvent? event) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Return a JSON encoding of this datum.
override
toString() String
A string representation of this object.
override

Operators

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